Skip to content

Commit

Permalink
[*]Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami authored Jun 2, 2024
1 parent 09b92b0 commit 2ee0e66
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,19 @@ jobs:
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run build --if-present
- uses: actions/upload-artifact@v4
with:
# Name of the artifact to upload.
# Optional. Default is 'artifact'
name: Artifact

# A file, directory or wildcard pattern that describes what to upload
# Required.
path: dist/

0 comments on commit 2ee0e66

Please sign in to comment.