Skip to content

Commit

Permalink
ci: Update to setup-node@v3 with caching
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jul 20, 2022
1 parent b05972e commit e91d25f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/react-typescript-vanilla-starter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x]
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: install, lint, build
run: |
npm install
npm run lint
npm run build
cache: 'npm'
- name: install
run: npm ci
- name: lint
run: npm run lint
- name: build
run: npm run build

0 comments on commit e91d25f

Please sign in to comment.