mirror of
https://github.com/actions/download-artifact.git
synced 2025-07-27 08:58:28 +02:00
Update test.yml
This commit is contained in:
parent
1ac47ba4b6
commit
e08e3df4d7
1 changed files with 23 additions and 2 deletions
25
.github/workflows/test.yml
vendored
25
.github/workflows/test.yml
vendored
|
@ -7,8 +7,29 @@ on:
|
|||
paths-ignore:
|
||||
- '**.md'
|
||||
|
||||
test:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
...
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/download-artifact@master
|
||||
with:
|
||||
name: webpack artifacts
|
||||
path: public
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: npm install, and test
|
||||
run: |
|
||||
npm install
|
||||
npm test
|
||||
env:
|
||||
CI: true
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
||||
|
@ -101,4 +122,4 @@ jobs:
|
|||
}
|
||||
shell: pwsh
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue