diff --git a/.github/actions/nodejs/action.yml b/.github/actions/nodejs/action.yml index 11dceb0695..97755761c3 100644 --- a/.github/actions/nodejs/action.yml +++ b/.github/actions/nodejs/action.yml @@ -15,7 +15,7 @@ runs: using: composite steps: - name: Use Node.js ${{ inputs.node-version }} - uses: actions/setup-node@v4.0.2 + uses: actions/setup-node@v4.0.3 with: node-version: ${{ inputs.node-version }} @@ -25,14 +25,14 @@ runs: shell: bash - name: Use the global Yarn cache if available - uses: actions/cache@v4.0.0 + uses: actions/cache@v4.0.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/cache@v4.0.0 + - uses: actions/cache@v4.0.2 id: node-modules-cache name: Use project node_modules cache if available with: diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index 95a365fffb..daf5c53f22 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -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 diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 292d231365..4acd12d5d2 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -23,7 +23,7 @@ jobs: ghTag: ${{ steps.releaseTags.outputs.gh }} steps: - name: Fetch from origin repo - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4.1.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/checkout@v4.1.1 + uses: actions/checkout@v4.1.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 }} diff --git a/.github/workflows/on-pull.yml b/.github/workflows/on-pull.yml index a405e0e6a6..51f0147579 100644 --- a/.github/workflows/on-pull.yml +++ b/.github/workflows/on-pull.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest name: Lint commit message steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4.1.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/checkout@v4.1.1 - - uses: actions/cache@v4.0.0 + - uses: actions/checkout@v4.1.7 + - uses: actions/cache@v4.0.2 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}