mirror of
https://github.com/actions/javascript-action.git
synced 2025-04-08 00:09:39 +00:00
feat: use local action in tests
This commit is contained in:
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
@ -1,7 +1,9 @@
|
||||
name: "Run JavaScript Action"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
branches:
|
||||
- master
|
||||
- 'releases/*' # only run in release distribution branches
|
||||
|
||||
jobs:
|
||||
@ -12,6 +14,6 @@ jobs:
|
||||
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
- uses: actions/javascript-action@releases/v1
|
||||
with:
|
||||
- uses: ./
|
||||
with:
|
||||
milliseconds: 1000
|
||||
|
Reference in New Issue
Block a user