Skip to content

Commit

Permalink
update GitHub actions (#321)
Browse files Browse the repository at this point in the history
- fix CI by updating actions/upload-artifact to v4
 - fix typo
  • Loading branch information
HackbrettXXX authored Feb 12, 2025
1 parent 0891c38 commit 353ad51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Continous Integration for svg2pdf.js
name: Continuous Integration for svg2pdf.js

on: [push, pull_request, workflow_dispatch]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- run: npm install
- run: npm run test:ci
- name: Archive reference files
if: ${{ failure() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: references
path: test/specs/**/reference.pdf
6 changes: 3 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
Expand Down

0 comments on commit 353ad51

Please sign in to comment.