Skip to content

Commit

Permalink
Update GitHub Actions workflow to use Node.js 20.x, enable npm cachin…
Browse files Browse the repository at this point in the history
…g, and specify npm registry URL
  • Loading branch information
syucream committed Jan 6, 2025
1 parent f1728e4 commit 5e109d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 5e109d0

Please sign in to comment.