This repository has been archived by the owner on Jun 16, 2024. It is now read-only.
chore(deps): update all linting dependencies (major) #1234
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 CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16, 18, 19] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install pnpm | |
run: npm i -g pnpm@latest-8 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.pnpm-store | |
key: pnpm-${{ hashFiles('pnpm-lock.yaml') }} | |
- name: install | |
run: pnpm install | |
- name: lint | |
run: pnpm run lint | |
- name: build | |
run: pnpm build | |
- name: test | |
run: pnpm test | |
env: | |
CI: true |