Skip to content

Commit

Permalink
chore: fix gh action on master
Browse files Browse the repository at this point in the history
  • Loading branch information
balzss committed Jul 26, 2024
1 parent c866804 commit d8a619b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: AUTO npm release, docs deploy and ssr regression - on master
on:
# Trigger the workflow on push or pull request,
# but only for the master branch
push:
branches:
- master
Expand All @@ -10,19 +8,19 @@ jobs:
runs-on: ubuntu-latest
name: Release to npm
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
cache: 'npm'
- name: Install packages.
run: npm ci
- name: Set up project.
run: npm run bootstrap
- name: Run tests.
run: USE_REACT_STRICT_MODE=0 npm run test:patchset
run: USE_REACT_STRICT_MODE=0 npm run test && npm run test:vitest && npm run test:jest && npm run cy:component
- name: Release to NPM
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down

0 comments on commit d8a619b

Please sign in to comment.