Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
badj authored Oct 24, 2023
1 parent 02644d2 commit 3f02cc6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
# node-version: [14.x, 16.x, 18.x]
node-version: [16.x]

# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -25,15 +27,17 @@ jobs:
# - name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# node-version: 16.14.0
# node-version: ${{ matrix.node-version }}
node-version: 16
check-latest: true
cache: 'npm'
# The action defaults to search for the dependency file
# (package-lock.json or yarn.lock) in the repository root, and uses
# its hash as a part of the cache key.
# https://github.com/actions/setup-node#caching-packages-dependencies
# cache-dependency-path: "./blog/package-lock.json"
cache-dependency-path: './server/package-lock.json'
# cache-dependency-path: functions/package-lock.json
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit 3f02cc6

Please sign in to comment.