fixed cli not checking relative global.css correctly #2864
Workflow file for this run
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 | |
name: Test NodeJS ${{ matrix.node_version }} | |
strategy: | |
matrix: | |
node_version: [18, 20, 22] | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/cancel-workflow-action@0.11.0 | |
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 | |
if: github.event_name == 'pull_request' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup | |
uses: ./.github/actions/setup | |
with: | |
node_version: 20 | |
- run: pnpm release.prepare --parallel=false | |
- run: pnpm dlx pkg-pr-new publish --pnpm ./dist/packages/kit-headless ./dist/packages/kit-styled ./dist/packages/cli ./dist/packages/utils | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN is provided automatically in any repository |