Merge pull request #798 from maiieul/fix-qwik-ui-0.4 #2093
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
name: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [18, 20, 22] | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
if: github.event_name == 'pull_request' | |
with: | |
access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node_version: ${{ matrix.node_version }} | |
- name: Test | |
uses: ./.github/actions/test | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
chromatic_token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
continuous-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node_version: 20 | |
- run: pnpm build.headless | |
- run: pnpx pkg-pr-new publish ./dist/packages/kit-headless | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN is provided automatically in any repository |