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