Skip to content

Commit

Permalink
Update workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stormwarning committed Aug 20, 2024
1 parent d207399 commit 23b11ad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
steps:
# https://github.com/actions/checkout
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# https://github.com/pnpm/action-setup
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 6

# https://github.com/actions/setup-node
- name: Setup Node.js 16.x
uses: actions/setup-node@v3
- name: Setup Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
cache: pnpm

- name: Install dependencies
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ jobs:
steps:
# https://github.com/actions/checkout
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can
# generate changelogs with the correct commits.
fetch-depth: 0

# https://github.com/pnpm/action-setup
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 6

# https://github.com/actions/setup-node
- name: Setup Node.js 16.x
uses: actions/setup-node@v3
- name: Setup Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
cache: pnpm

- name: Install dependencies
Expand All @@ -39,7 +39,7 @@ jobs:
id: changesets
uses: changesets/action@v1
with:
title: 'Chore: Publish release'
title: 'Publish release'
# This expects you to have a script called release which does a build
# for your packages and calls changeset publish
publish: npm run release
Expand Down

0 comments on commit 23b11ad

Please sign in to comment.