Skip to content

Commit

Permalink
chore: use corepack for pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jun 26, 2023
1 parent b44fabe commit c0d8867
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest]
platform: [ubuntu-latest]
node-version: [lts/*, current]
include:
- platform: macos-latest
node-version: lts/*
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm i pnpm@latest -g
- run: corepack enable && pnpm --version
- run: pnpm install
- run: pnpm test
- run: pnpm lint
Expand All @@ -40,7 +43,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: lts/*
- run: npm i pnpm@latest -g
- run: corepack enable && pnpm --version
- run: pnpm install
# Branches that will release new versions are defined in .releaserc.json
- run: pnpm exec semantic-release
Expand Down

0 comments on commit c0d8867

Please sign in to comment.