neiam /action-setup-beam
action-setup-beam
public · Issues · Pulls · Labels · Forks · Compare · Actions queued
⭐
Log in to mark this repository.
Simulate input `github-token` to fix unit tests (#174)
1f06ac3 · Paulo F. Oliveira · 2023-01-07 19:51
Message
{commit_body(@commit)}
Files changed
modified
.github/workflows/action.yml
+3
−0
@@ -8,6 +8,9 @@ on:
| 8 | 8 | pull_request: |
| 9 | 9 | types: [opened, synchronize] |
| 10 | 10 | |
| 11 | +env: | |
| 12 | + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| 13 | + | |
| 11 | 14 | jobs: |
| 12 | 15 | check_integrity: |
| 13 | 16 | name: Expected local npm actions |
modified
__tests__/setup-beam.test.js
+1
−0
@@ -3,6 +3,7 @@ simulateInput('elixir-version', '1.14.2')
| 3 | 3 | simulateInput('rebar3-version', '3.20') |
| 4 | 4 | simulateInput('install-rebar', 'true') |
| 5 | 5 | simulateInput('install-hex', 'true') |
| 6 | +simulateInput('github-token', process.env.GITHUB_TOKEN) | |
| 6 | 7 | |
| 7 | 8 | const assert = require('assert') |
| 8 | 9 | const fs = require('fs') |
Parents: e3f6ffe