Simulate input github-token to fix unit tests (#174)

* Simulate input to fix unit tests
This commit is contained in:
Paulo F. Oliveira
2023-01-07 19:51:47 +00:00
committed by GitHub
parent e3f6ffe287
commit 1f06ac36d3
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -8,6 +8,9 @@ on:
pull_request:
types: [opened, synchronize]
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
check_integrity:
name: Expected local npm actions
+1
View File
@@ -3,6 +3,7 @@ simulateInput('elixir-version', '1.14.2')
simulateInput('rebar3-version', '3.20')
simulateInput('install-rebar', 'true')
simulateInput('install-hex', 'true')
simulateInput('github-token', process.env.GITHUB_TOKEN)
const assert = require('assert')
const fs = require('fs')