Skip to content

Commit

Permalink
updated node versions and tried fixing pnpm error
Browse files Browse the repository at this point in the history
  • Loading branch information
amosmachora committed Jan 29, 2024
1 parent 2c058b7 commit d65b88d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/hashnode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
- name: Checkout repository
uses: actions/checkout@v3

- uses: pnpm/action-setup@v2
with:
version: 8

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: "pnpm"

- run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x
cache: "pnpm"

- run: pnpm install --frozen-lockfile
Expand Down

0 comments on commit d65b88d

Please sign in to comment.