Skip to content

Commit

Permalink
fix(app): update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dipendraupreti committed Aug 29, 2024
1 parent f752dbd commit 5d5c82e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,12 @@ jobs:
with:
node-version: 20
registry-url: "https://registry.npmjs.org"
- name: Install pnpm
- name: Setup pnpm and install dependencies
uses: pnpm/action-setup@v4
with:
run_install: |
- version: 8
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- run:
pnpm -r install
- run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
Expand Down
18 changes: 9 additions & 9 deletions generators/app/templates/.github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ jobs:
matrix:
node-version: [20, 21]
steps:
- uses: actions/checkout@v4
name: Use node ${{ matrix.node-version }}
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-node@v4
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/action-setup@v2
name: Install pnpm
- name: Setup pnpm and install dependencies
uses: pnpm/action-setup@v4
with:
version: 8

- name: Install Dependencies
run: pnpm install --frozen-lockfile
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Build packages
run: pnpm build
Expand Down

0 comments on commit 5d5c82e

Please sign in to comment.