Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update actions/checkout version to v4 on intro docs and Github actions chromatic workflow #754

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Prepare repository
run: git fetch --unshallow --tags
Expand Down
2 changes: 1 addition & 1 deletion content/design-systems-for-developers/react/en/review.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
#👇 Fetches all history so Chromatic can compare against previous builds
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions content/design-systems-for-developers/react/en/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
interaction-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
#👇 Sets the version of Node.js to use
Expand All @@ -203,7 +203,7 @@ jobs:
runs-on: ubuntu-latest
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
#👇 Fetches all history so Chromatic can compare against previous builds
fetch-depth: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Use Node.js 12.x
Expand Down
2 changes: 1 addition & 1 deletion content/design-systems-for-developers/react/ja/review.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/design-systems-for-developers/react/ja/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
runs-on: ubuntu-latest
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
+ - run: yarn test # Adds the test command
#👇 Adds Chromatic as a step in the workflow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Use Node.js 12.x
Expand Down
2 changes: 1 addition & 1 deletion content/design-systems-for-developers/react/ko/review.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
runs-on: ubuntu-latest
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/design-systems-for-developers/react/ko/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ jobs:
runs-on: ubuntu-latest
# The list of steps that the action will go through
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
+ - run: yarn test # Adds the test command
#👇 Adds Chromatic as a step in the workflow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
# the list of steps that the action will go through
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Use Node.js 12.x
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
runs-on: ubuntu-latest
# the list of steps that the action will go through
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#- run: yarn build-storybook
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/design-systems-for-developers/react/zh-CN/test.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
runs-on: ubuntu-latest
# the list of steps that the action will go through
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
- run: yarn test # adds the test command
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/angular/en/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: yarn
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/angular/es/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: npm install
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/angular/ja/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: npm install
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/ember/en/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/ar/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/en/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: yarn
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/es/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/fr/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/it/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: yarn
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/ja/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/ko/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/nl/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/zh-CN/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/react/zh-TW/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/svelte/en/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/vue/en/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: yarn
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/vue/es/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
2 changes: 1 addition & 1 deletion content/intro-to-storybook/vue/zh-CN/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
runs-on: ubuntu-latest
# Job steps
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: yarn
#👇 Adds Chromatic as a step in the workflow
- uses: chromaui/action@v1
Expand Down
14 changes: 7 additions & 7 deletions content/ui-testing-handbook/react/en/automate.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
interaction-and-accessibility:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: '16.x'
Expand All @@ -72,7 +72,7 @@ jobs:
visual-and-composition:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required to retrieve git history
- name: Install dependencies
Expand All @@ -86,7 +86,7 @@ jobs:
user-flow:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Install dependencies
run: yarn
- name: Cypress run
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Commit
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Cache yarn dependencies and cypress
uses: actions/cache@v2
id: yarn-cache
Expand All @@ -142,7 +142,7 @@ jobs:
runs-on: ubuntu-latest
needs: install-cache
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v2
with:
node-version: '16.x'
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
runs-on: ubuntu-latest
needs: install-cache
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required to retrieve git history
- name: Restore yarn dependencies
Expand All @@ -193,7 +193,7 @@ jobs:
runs-on: ubuntu-latest
needs: install-cache
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Restore yarn dependencies
uses: actions/cache@v2
id: yarn-cache
Expand Down
Loading