Skip to content

Commit

Permalink
build: specify exact NodeJS version in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-jerkovic committed Feb 1, 2024
1 parent 3cc51cd commit fef2140
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/cache@v4
- uses: actions/setup-node@v4
with:
path: |
node_modules
.yarn/cache
key: node_modules-${{ hashFiles('**/yarn.lock') }}
node-version: 20.x
cache: yarn
- run: yarn install
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -41,12 +39,10 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/cache@v4
- uses: actions/setup-node@v4
with:
path: |
node_modules
.yarn/cache
key: node_modules-${{ hashFiles('**/yarn.lock') }}
node-version: 20.x
cache: yarn
- uses: actions/download-artifact@v4
with:
name: dist
Expand Down

0 comments on commit fef2140

Please sign in to comment.