Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
thafryer committed Jul 21, 2023
1 parent 8162caa commit 30ed4e6
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/smoke-test-node18.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Smoke test via Node 18
on: push

jobs:
self-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '18'
- run: yarn
- run: yarn build
- uses: ./
with:
buildScriptName: build-test-storybook
exitZeroOnChanges: true
forceRebuild: true
onlyChanged: true
env:
LOG_LEVEL: debug
DEBUG: chromatic-cli
CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/smoke-test-node20.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Smoke test via Node 20
on: push

jobs:
self-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
node-version: '20'
- run: yarn
- run: yarn build
- uses: ./
with:
buildScriptName: build-test-storybook
exitZeroOnChanges: true
forceRebuild: true
onlyChanged: true
env:
LOG_LEVEL: debug
DEBUG: chromatic-cli
CHROMATIC_PROJECT_TOKEN: ${{ secrets.SMOKE_TESTS_CHROMATIC_PROJECT_TOKEN }}
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ outputs:

runs:
main: action/register.js
using: node16
using: node18

0 comments on commit 30ed4e6

Please sign in to comment.