Skip to content

Commit

Permalink
chore: update GitHub Actions workflow to use latest action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Jan 2, 2025
1 parent 30702db commit 99654c8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ on:
- 'testing-library@*'

jobs:
build:
publish:
runs-on: ubuntu-latest
steps:
# We want to get the tag name without the @version suffix, this is our
# package name
- uses: actions/github-script@v6
- uses: actions/github-script@v7
id: get-tag-name
env:
GIT_TAG_NAME: ${{ github.ref_name }}
with:
result-encoding: string
script: return process.env.GIT_TAG_NAME.split('@')[0]

- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
Expand All @@ -31,7 +31,7 @@ jobs:
# with:
# workflow-id: 'publish firebase generator'

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
with:
Expand All @@ -44,7 +44,7 @@ jobs:
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
Expand Down

0 comments on commit 99654c8

Please sign in to comment.