generated from nl-design-system/example
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: upgrade github actions and use hash signatures
- Loading branch information
Showing
4 changed files
with
28 additions
and
28 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 |
---|---|---|
|
@@ -13,6 +13,6 @@ jobs: | |
|
||
steps: | ||
- name: Block Autosquash Commits | ||
uses: xt0rted/[email protected] | ||
uses: xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2.2.0 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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 |
---|---|---|
|
@@ -16,13 +16,13 @@ jobs: | |
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/[email protected] | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/[email protected].2 | ||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
@@ -40,13 +40,13 @@ jobs: | |
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/[email protected] | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/[email protected].2 | ||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
@@ -67,13 +67,13 @@ jobs: | |
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/[email protected] | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/[email protected].2 | ||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
@@ -115,14 +115,14 @@ jobs: | |
path: packages/design-system-website/dist/ | ||
|
||
- name: "Retain build artifact: website" | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | ||
with: | ||
name: website | ||
path: packages/design-system-website/dist/ | ||
retention-days: 1 | ||
|
||
- name: "Retain build artifact: storybook" | ||
uses: actions/upload-artifact@v4.3.3 | ||
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | ||
with: | ||
name: storybook | ||
path: packages/storybook/dist/ | ||
|
@@ -136,13 +136,13 @@ jobs: | |
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/[email protected] | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/[email protected].2 | ||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
@@ -168,15 +168,15 @@ jobs: | |
|
||
steps: | ||
- name: Checkout branch | ||
uses: actions/[email protected] | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/[email protected].2 | ||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
@@ -192,7 +192,7 @@ jobs: | |
pnpm run --if-present build | ||
- name: Publish to Chromatic | ||
uses: chromaui/action@v11.3.5 | ||
uses: chromaui/action@6eca23b4399151ac2cfc17fa95190d807c7e9519 # v11.10.2 | ||
if: github.event.pull_request.draft == false | ||
with: | ||
autoAcceptChanges: ${{ env.MAIN_BRANCH }} | ||
|
@@ -226,15 +226,15 @@ jobs: | |
|
||
steps: | ||
- name: Checkout release branch | ||
uses: actions/[email protected] | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.6 | ||
with: | ||
token: ${{ secrets.GH_TOKEN }} | ||
|
||
- name: Install pnpm | ||
uses: pnpm/[email protected] | ||
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 #v4.0.0 | ||
|
||
- name: Set up Node.js version | ||
uses: actions/[email protected].2 | ||
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 | ||
with: | ||
node-version-file: .nvmrc | ||
cache: pnpm | ||
|
@@ -261,7 +261,7 @@ jobs: | |
# pnpm run release | ||
|
||
- name: "Continuous Deployment: publish changeset to GitHub repository" | ||
uses: changesets/[email protected].7 | ||
uses: changesets/action@3de3850952bec538fde60aac71731376e57b9b57 # v1.4.8 | ||
id: changeset | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
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