chore(deps): update pnpm to v9 #254
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: | |
pull_request: | |
push: | |
branches: | |
- dev | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
- name: Setup node.js 19 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 19 | |
cache: 'pnpm' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Run lint | |
run: pnpm run lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
- name: Setup node.js 19 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 19 | |
cache: 'pnpm' | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Install Dependencies | |
run: pnpm i --frozen-lockfile | |
- name: Run tests | |
run: pnpm run test |