Skip to content

Commit

Permalink
Upgrade all Github Actions packages
Browse files Browse the repository at this point in the history
  • Loading branch information
spautz committed Jul 15, 2024
1 parent f7c5b8b commit 93a321d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions .github/reusable-workflows/setup-repo/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,29 @@ inputs:
runs:
using: composite
steps:
- uses: actions/setup-node@v3.7.0
- uses: actions/setup-node@v4.0.3
if: ${{ inputs.node-version == 'nvmrc' }}
with:
node-version-file: .nvmrc
registry-url: 'https://registry.npmjs.org'
- uses: actions/setup-node@v3.7.0
- uses: actions/setup-node@v4.0.3
if: ${{ inputs.node-version != 'nvmrc' }}
with:
node-version: ${{ inputs.node-version }}
registry-url: 'https://registry.npmjs.org'

- uses: oven-sh/setup-bun@v1.1.1
- uses: oven-sh/setup-bun@v2.0.1
with:
bun-version: latest

- uses: pnpm/action-setup@v2.4.0
- uses: pnpm/action-setup@v4.0.0

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3.3.1
- uses: actions/cache@v4.0.2
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
node-version: [18.x, 20.x, 22.x, latest]

steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.7
with:
fetch-depth: 0

Expand All @@ -32,7 +32,7 @@ jobs:
pnpm run all:ci
- name: Report test coverage to coveralls.io
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2.3.0
with:
github-token: ${{ github.token }}

Expand All @@ -44,7 +44,7 @@ jobs:
package-name: [node-library-template, react-library-template]

steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.7

- uses: ./.github/reusable-workflows/setup-repo
with:
Expand All @@ -63,7 +63,7 @@ jobs:
demo-name: [hello-world-cli, hello-world-ui]

steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.7

- uses: ./.github/reusable-workflows/setup-repo
with:
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
]

steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.7

- uses: ./.github/reusable-workflows/setup-repo
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/per-package-code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
package-name: [node-library-template, react-library-template]

steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.7

- uses: ./.github/reusable-workflows/setup-repo

Expand All @@ -36,7 +36,7 @@ jobs:
pnpm run test
- name: Report package test coverage to coveralls.io
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2.3.0
with:
github-token: ${{ github.token }}
path-to-lcov: packages/${{ matrix.package-name }}/coverage/lcov.info
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.7
with:
fetch-depth: 0

Expand All @@ -36,15 +36,15 @@ jobs:
run: pnpm run release:prep

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
uses: crazy-max/ghaction-import-gpg@v6.1.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true

- name: Create pull request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v6.1.0
id: cpr
with:
branch: prepare-release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
matrix:
package-name: [node-library-template, react-library-template]
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.7
with:
fetch-depth: 0

Expand Down

0 comments on commit 93a321d

Please sign in to comment.