Skip to content

Commit

Permalink
chore: Add @v to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
puria committed May 7, 2024
1 parent ab0ed04 commit 41a6024
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ defaults:
shell: bash

permissions:
contents: read # for checkout
contents: read # for checkout@v4

jobs:
test:
name: 🧪
runs-on: ubuntu-latest
steps:
- uses: actions/checkout
- uses: actions/setup-node
- uses: pnpm/action-setup
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache
- uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand All @@ -42,12 +42,12 @@ jobs:
pull-requests: write
id-token: write
steps:
- uses: actions/checkout
- uses: actions/setup-node
- name: pnpm/actions-setup
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: pnpm/actions-setup@v3
with:
version: 8
- uses: actions/cache
- uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand All @@ -66,17 +66,17 @@ jobs:
pages: write
id-token: write
steps:
- uses: actions/checkout
- uses: actions/setup-node
- uses: pnpm/action-setup
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/cache
- uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: ${{ runner.os }}-pnpm-store-
- uses: bitovi/github-actions-storybook-to-github-pages
- uses: bitovi/github-actions-storybook-to-github-pages@v1
with:
install_command: pnpm i
build_command: pnpm run build && pnpm run build-storybook
Expand Down

0 comments on commit 41a6024

Please sign in to comment.