Upgrades runtime to node20 (#293) #413
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: install | |
run: npm ci | |
- name: compile | |
run: npm run compile | |
- name: format-check | |
run: npm run format-check | |
- name: lint | |
run: npm run lint | |
- name: build | |
run: npm run build | |
- name: test | |
run: npm run test | |
- name: check dist is up-to-date | |
run: git diff --name-only --quiet | |
- uses: codecov/codecov-action@v3 |