Skip to content

Commit

Permalink
chore(ci): update gh actions versions (#5571)
Browse files Browse the repository at this point in the history
  • Loading branch information
droshev authored Aug 21, 2024
1 parent 1d1f3f5 commit db72b2b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/actions/nodejs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7
with:
fetch-depth: 0 # Chromatic requires to have full git history
- name: Setup Node.js and Cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/on-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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') }}
Expand Down

0 comments on commit db72b2b

Please sign in to comment.