Update Node.js to v20 #4459
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: | |
pull_request: | |
jobs: | |
ci: | |
if: ${{ !startsWith(github.event.head_commit.message, 'v') }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: pnpm/[email protected] | |
with: | |
version: 6 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: pnpm | |
registry-url: https://registry.npmjs.org | |
- name: Install dependencies | |
run: pnpm install | |
- name: Check formatting | |
run: pnpm prettier:check-all | |
- name: Lint | |
run: pnpm eslint:lint-all | |
- name: Test | |
run: pnpm test | |
- name: Build | |
run: pnpm build |