Skip to content

Commit

Permalink
🚀 Enable corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryScaletta committed Nov 8, 2023
1 parent 66631e9 commit 3bf80d9
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,13 @@ jobs:
steps:
- name: Begin CI...
uses: actions/checkout@v2

- name: Install pnpm
run: corepack prepare pnpm@latest --activate

- name: Install dependencies
run: pnpm i

- name: Test
run: pnpm test --ci --coverage --maxWorkers=2

- name: Build
run: pnpm build
- run: corepack enable
- run: corepack prepare pnpm@latest --activate
- run: pnpm i
- run: pnpm test --ci --coverage --maxWorkers=2
- run: pnpm build
env:
NEXT_PUBLIC_GA_MEASUREMENT_ID: ${{ secrets.GA_MEASUREMENT_ID }}

- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 3bf80d9

Please sign in to comment.