fix(actions): update node to v20 #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Begin CI... | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v4 | |
name: Install pnpm | |
id: pnpm-install | |
- name: Use Node 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install | |
env: | |
CI: true | |
- name: Lint | |
run: pnpm lint | |
env: | |
CI: true | |
- name: Test | |
run: pnpm test | |
env: | |
CI: true | |
- name: Build | |
run: pnpm build | |
env: | |
CI: true |