Skip to content

Commit

Permalink
ci: replace npm with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
DASPRiD committed Jan 22, 2024
1 parent fc2174f commit 97669c8
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,25 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use pnpm 8.x
uses: pnpm/action-setup@v2
with:
version: 8

- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20

- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
cache: 'pnpm'

- name: Install Dependencies
run: npm ci
run: CI=true npm install

- name: Biome CI
run: npx biome ci .
run: pnpm exec biome ci .

- name: Build
run: npm run build
run: pnpm build

- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
Expand Down

0 comments on commit 97669c8

Please sign in to comment.