Skip to content

Commit

Permalink
chore(ci): Trying to use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
planctus committed Nov 28, 2024
1 parent 6f2be1f commit efc2909
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.9.0
- name: Install pnpm
run: npm install -g pnpm
- name: Test
run: ./scripts/audit.sh
tests:
Expand All @@ -36,7 +34,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.9.0
cache: 'pnpm'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build icons
Expand All @@ -53,7 +52,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.9.0
cache: 'pnpm'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build presets
Expand All @@ -69,7 +69,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.9.0
cache: 'pnpm'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build icons
Expand All @@ -95,7 +96,8 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20.9.0
cache: 'pnpm'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build icons
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ jobs:
runs-on: ubuntu-latest
name: build and deploy the release
steps:
- name: Install pnpm
run: npm install -g pnpm
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.9.0
cache: 'pnpm'
- name: Install pnpm
run: npm install -g pnpm
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
Expand Down

0 comments on commit efc2909

Please sign in to comment.