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 bef57c2 commit f6f8cf1
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/react-typescript-vanilla-starter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ jobs:
node-version: [10.x, 12.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 f6f8cf1

Please sign in to comment.