Skip to content

Commit

Permalink
Fix CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
ghengeveld committed Mar 4, 2024
1 parent db41072 commit 143441f
Show file tree
Hide file tree
Showing 4 changed files with 535 additions and 658 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: yarn
- name: Publish to Chromatic
uses: chromaui/action-next@v1
uses: chromaui/action@latest
with:
token: ${{ secrets.GITHUB_TOKEN }}
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
buildScriptName: 'build:storybook'
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- name: Prepare repository
run: git fetch --unshallow --tags

- name: Use Node.js 16.x
uses: actions/setup-node@v1
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: latest

- name: Cache node modules
uses: actions/cache@v1
Expand Down
3 changes: 1 addition & 2 deletions chromatic.config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"buildScriptName": "build:storybook",
"projectId": "Project:6008aabce49a640021858011",
"projectToken": "uskf6kz75lb"
"projectId": "Project:6008aabce49a640021858011"
}
Loading

0 comments on commit 143441f

Please sign in to comment.