fix(deps): update rust crate swc_core to 13.0.4 #610
Workflow file for this run
This file contains hidden or 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: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| name: Test - ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Handle line endings | |
| shell: bash | |
| if: runner.os == 'Windows' | |
| run: | | |
| git config --system core.autocrlf false | |
| git config --system core.eol lf | |
| - uses: actions/checkout@v4 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/bin/ | |
| ~/.cargo/registry/index/ | |
| ~/.cargo/registry/cache/ | |
| ~/.cargo/git/db/ | |
| target/ | |
| key: ${{ runner.os }}-cargo | |
| - uses: jdx/mise-action@v2 | |
| - run: pnpm i --frozen-lockfile | |
| - name: Configure path (windows) | |
| shell: bash | |
| if: runner.os == 'Windows' | |
| run: | | |
| echo 'C:\\npm\\prefix' >> $GITHUB_PATH | |
| - name: Run tests | |
| run: pnpm run test | |
| release: | |
| needs: test | |
| if: ${{ github.event_name == 'push' }} | |
| secrets: inherit | |
| uses: ./.github/workflows/release.yml |