Skip to content

Commit d1dfb47

Browse files
authored
ci: update test (actions#8)
1 parent 847634e commit d1dfb47

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/test.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
1+
name: test
12
on: [push]
23

34
jobs:
4-
demo:
5+
test:
56
runs-on: ubuntu-latest
67
steps:
78
- uses: actions/checkout@v3
89
- uses: actions/setup-node@v3
910
with:
10-
node-version: '16.16'
11-
cache: 'npm'
11+
node-version: "16.16"
12+
cache: "npm"
1213
- run: npm ci
1314
- run: npm run build
1415
- uses: ./ # Uses the action in the root directory
1516
id: demo
1617
with:
17-
app_id: ${{ secrets.APP_ID }}
18-
private_key: ${{ secrets.PRIVATE_KEY }}
18+
app_id: ${{ vars.TEST_APP_ID }}
19+
private_key: ${{ secrets.TEST_APP_PRIVATE_KEY }}
1920
- uses: octokit/request-action@v2.x
2021
id: get-repository
2122
env:

0 commit comments

Comments
 (0)