mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-31 12:10:48 +00:00
Simulate input github-token to fix unit tests (#174)
* Simulate input to fix unit tests
This commit is contained in:
@@ -8,6 +8,9 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check_integrity:
|
check_integrity:
|
||||||
name: Expected local npm actions
|
name: Expected local npm actions
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ simulateInput('elixir-version', '1.14.2')
|
|||||||
simulateInput('rebar3-version', '3.20')
|
simulateInput('rebar3-version', '3.20')
|
||||||
simulateInput('install-rebar', 'true')
|
simulateInput('install-rebar', 'true')
|
||||||
simulateInput('install-hex', 'true')
|
simulateInput('install-hex', 'true')
|
||||||
|
simulateInput('github-token', process.env.GITHUB_TOKEN)
|
||||||
|
|
||||||
const assert = require('assert')
|
const assert = require('assert')
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
|
|||||||
Reference in New Issue
Block a user