Bump actions/setup-node from 3 to 4 #40
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: Node.js CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build-lint-test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/[email protected] | |
with: | |
version: 8.6.3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: 'pnpm' | |
- name: Install Packages | |
run: pnpm i | |
- name: Check format | |
run: pnpm run format | |
- name: Lint | |
run: pnpm run lint | |
#- name: Test | |
# run: pnpm test-coverage | |
- name: Build | |
run: pnpm run build |