Skip to content

Commit 284fe3b

Browse files
authored
Upload and download artifacts
1 parent 795597f commit 284fe3b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,18 @@ jobs:
1111
check-latest: true
1212
- name: Install modules
1313
run: npm i
14+
- name: Upload artifacts
15+
uses: actions/upload-artifact@v2
16+
with:
17+
name: current
18+
path: .
1419
test:
1520
needs: prepare
1621
runs-on: ubuntu-latest
1722
steps:
18-
- uses: actions/checkout@v2
19-
- uses: actions/setup-node@v2
23+
- name: Download artifacts
24+
uses: actions/download-artifact@v2
2025
with:
21-
node-version: "15"
22-
check-latest: true
23-
- name: Install modules
24-
run: npm i
26+
name: current
2527
- name: Run tests
2628
run: npm run test

0 commit comments

Comments
 (0)