Skip to content

Commit

Permalink
ci: ci.yml migrate upload-artifact and download-artifact to v4 (#950)
Browse files Browse the repository at this point in the history
* ci: migrate upload-artifact and download-artifact to v4

* Remove unnecessary merging and uploading
reakaleek authored Sep 11, 2024
1 parent 70fcf9b commit 0dfee84
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ jobs:
node-version-file: .nvmrc
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist
@@ -48,9 +48,9 @@ jobs:
node-version-file: .nvmrc
- run: npm ci
- run: npm run test:unit -- --ci --reporters=default --reporters=jest-junit
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: test-results
name: test-results-test
path: "**/junit.xml"
if-no-files-found: error

@@ -65,7 +65,7 @@ jobs:
cache: npm
node-version-file: .nvmrc
- run: npm ci
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
@@ -74,8 +74,8 @@ jobs:
working-directory: __tests__/e2e
env:
TERM: xterm # this is needed for tput
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: test-results
name: test-results-e2e-test
path: "**/junit.xml"
if-no-files-found: error

0 comments on commit 0dfee84

Please sign in to comment.