Skip to content

Commit

Permalink
Merge pull request #511 from twilio-labs/bnb/update-ci
Browse files Browse the repository at this point in the history
ci: update CI to use reasonable verisons of Node.js and npm
  • Loading branch information
cmsunu28 authored Jun 3, 2024
2 parents ace93eb + 952c669 commit a6c1880
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Node CI
name: Node.js CI

on: [pull_request]

Expand All @@ -8,12 +8,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [14, 16]
node-version: [current, lts/*]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
# - name: Cache node modules
Expand All @@ -34,9 +34,9 @@ jobs:
# ${{ matrix.os }}-${{ matrix.node-version }}-cypress-${{ env.cache-name }}-
# ${{ matrix.os }}-${{ matrix.node-version }}-cypress-
# ${{ matrix.os }}-${{ matrix.node-version }}-
- name: install npm v8
- name: install latest npm
run: |
npm install -g npm@8
npm install -g npm@latest
- name: npm install, build, and test
run: |
npm install
Expand Down

0 comments on commit a6c1880

Please sign in to comment.