Skip to content

Commit

Permalink
Fix Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cs-raj committed Feb 6, 2025
1 parent 1a34e09 commit 76b3c37
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3.7.0
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '22.x'
- name: Install dependencies
run: npm install
- name: Build
run: npm run prepack
- name: Upload dist
uses: actions/upload-artifact@v3.1.2
uses: actions/upload-artifact@v4
with:
name: lib
path: lib
Expand All @@ -32,17 +32,17 @@ jobs:
needs: build
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3.7.0
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '22.x'
- name: Install dependencies
run: npm install
- name: Download dist
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: lib
path: lib
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Release
if: steps.update_tag.outputs.tagname
id: release-plugin
uses: JS-DevTools/npm-publish@v2.2.0
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
strategy: upgrade
Expand Down

0 comments on commit 76b3c37

Please sign in to comment.