Skip to content

Commit

Permalink
build: Update action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
istarkov committed Apr 25, 2024
1 parent 1b3032d commit 0824f7b
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions .github/actions/ci-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ runs:
using: "composite"

steps:
- uses: pnpm/action-setup@v2.2.4
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: pnpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-figma-tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# We don't need a token to push from an action,
# but we need it if want the commit to trigger other workflows as normal
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
sdk-components-react-radix: ${{ steps.deployed-url.outputs.sdk-components-react-radix }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2 # we need to fetch at least parent commit to satisfy Chromatic
ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit
Expand All @@ -98,7 +98,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 2 # we need to fetch at least parent commit to satisfy Chromatic
ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cli-r2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }} # HEAD commit instead of merge commit

- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v3

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: pnpm
Expand Down Expand Up @@ -81,11 +81,11 @@ jobs:
needs: build

steps:
- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v3
with:
version: "9"

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "20.x"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
AUTH_SECRET: test

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
AUTH_SECRET: test

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
AUTH_SECRET: test

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/ci-setup

- run: pnpm -r build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/re-create-figma-tokens-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Re-create branch
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/vercel-deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit

- uses: pnpm/action-setup@v2.2.4
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: pnpm
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/vis-reg-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
#with:
#ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit

Expand All @@ -40,7 +40,7 @@ jobs:
DATABASE_URL: postgres://
AUTH_SECRET: test
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
#with:
#ref: ${{ github.event.pull_request.head.sha || github.sha }} # HEAD commit instead of merge commit

Expand All @@ -55,17 +55,17 @@ jobs:
LOST_PIXEL_CONFIG_DIR: apps/builder
LOST_PIXEL_API_KEY: 8b76db6c-b9f0-46d1-982f-70900a02690a
finalize:
needs: [builder, design-system]
runs-on: ubuntu-latest
needs: [builder, design-system]
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Lost Pixel Finalize
uses: lost-pixel/[email protected]
env:
LOST_PIXEL_CONFIG_DIR: apps/builder
LOST_PIXEL_API_KEY: 8b76db6c-b9f0-46d1-982f-70900a02690a
with:
FINALIZE: true
- name: Lost Pixel Finalize
uses: lost-pixel/[email protected]
env:
LOST_PIXEL_CONFIG_DIR: apps/builder
LOST_PIXEL_API_KEY: 8b76db6c-b9f0-46d1-982f-70900a02690a
with:
FINALIZE: true

0 comments on commit 0824f7b

Please sign in to comment.