Skip to content

Commit

Permalink
fix(updated node version): node 18 to 22
Browse files Browse the repository at this point in the history
  • Loading branch information
Swalah Codes committed Jul 2, 2024
1 parent c8b557f commit dafd85e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package

on:
Expand All @@ -16,9 +13,8 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 22.1.0 # Updated to a newer version
- run: npm ci


publish-npm:
needs: build
Expand All @@ -27,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 22.1.0 # Updated to a newer version
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run semantic-release
Expand Down

0 comments on commit dafd85e

Please sign in to comment.