chore(deps): update pnpm to v9 #2556
Workflow file for this run
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: Code CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: Build and test code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Setup node and restore cached dependencies | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18' | |
cache: 'pnpm' | |
- name: Install packages | |
run: pnpm install --frozen-lockfile | |
# Build first to avoid broken monorepo dependencies | |
- name: Build | |
run: pnpm build | |
- name: Lint | |
run: pnpm lint --fix | |
- name: Test | |
run: pnpm test | |
- name: Publish to Codecov | |
uses: codecov/codecov-action@v4.3.1 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |