Skip to content

Commit

Permalink
CI/CD update
Browse files Browse the repository at this point in the history
  • Loading branch information
while1618 committed Aug 3, 2024
1 parent f9b85da commit 4d47d2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js 18
uses: actions/setup-node@v3
- name: Set up Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install dependencies
run: npm ci
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js 18
uses: actions/setup-node@v3
- name: Set up Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20

- name: Install dependencies
run: npm ci
Expand All @@ -35,7 +35,7 @@ jobs:
run: npm run test

- name: Publish to NPM
uses: JS-DevTools/npm-publish@v2
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit 4d47d2a

Please sign in to comment.