Skip to content

Commit 2203a73

Browse files
committed
ci: Update to setup-node@v3 with caching
1 parent 8c7291c commit 2203a73

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/vue-typescript-vanilla-starter.yaml

+9-7
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ jobs:
1212
node-version: [10.x, 12.x]
1313

1414
steps:
15-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v3
1616
- name: Use Node.js ${{ matrix.node-version }}
17-
uses: actions/setup-node@v1
17+
uses: actions/setup-node@v3
1818
with:
1919
node-version: ${{ matrix.node-version }}
20-
- name: install, lint, build
21-
run: |
22-
npm install
23-
npm run lint
24-
npm run build
20+
cache: 'npm'
21+
- name: install
22+
run: npm ci
23+
- name: lint
24+
run: npm run lint
25+
- name: build
26+
run: npm run build

0 commit comments

Comments
 (0)