-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): update gh actions versions (#5571)
- Loading branch information
Showing
4 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ runs: | |
using: composite | ||
steps: | ||
- name: Use Node.js ${{ inputs.node-version }} | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
|
||
|
@@ -25,14 +25,14 @@ runs: | |
shell: bash | ||
|
||
- name: Use the global Yarn cache if available | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].2 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-node-${{ inputs.node_version }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-node-${{ inputs.node_version }}-yarn- | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].2 | ||
id: node-modules-cache | ||
name: Use project node_modules cache if available | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
ghTag: ${{ steps.releaseTags.outputs.gh }} | ||
steps: | ||
- name: Fetch from origin repo | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
with: | ||
ref: ${{ fromJSON('["tmp_hotfix_branch", "main"]')[env.IS_HOTFIX] }} | ||
fetch-depth: 0 | ||
|
@@ -107,7 +107,7 @@ jobs: | |
if: ${{ needs.create_release.outputs.npmTag == 'latest' }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
with: | ||
ref: main # always fetch from main branch | ||
token: ${{ secrets.GHACTIONS }} | ||
|
@@ -119,7 +119,7 @@ jobs: | |
run: npx cross-env STORYBOOK_BASE_HREF=fundamental-styles yarn run storybook:static | ||
|
||
- name: Publish to gh-pages | ||
uses: JamesIves/github-pages-deploy-action@v4.5.0 | ||
uses: JamesIves/github-pages-deploy-action@v4.6.3 | ||
with: | ||
folder: storybook-static | ||
token: ${{ secrets.GHACTIONS }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: Lint commit message | ||
steps: | ||
- uses: actions/[email protected].1 | ||
- uses: actions/[email protected].7 | ||
with: | ||
fetch-depth: 0 | ||
- uses: wagoid/commitlint-github-action@v3 | ||
|
@@ -24,8 +24,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
name: Install, Lint, Build | ||
steps: | ||
- uses: actions/[email protected].1 | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].7 | ||
- uses: actions/[email protected].2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
|