ci(release): fixes various issues from releasing 0.0.1 #7
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: CI | |
on: | |
pull_request: | |
branches: | |
- release/v* | |
- main | |
- alpha | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ["18.x", "20.x"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Script Runner | |
uses: ./.github/composite-workflows/pnpm-script-base | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: pnpm run lint | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ["18.x", "20.x"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Script Runner | |
uses: ./.github/composite-workflows/pnpm-script-base | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: pnpm test | |
compile: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ["18.x", "20.x"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Script Runner | |
uses: ./.github/composite-workflows/pnpm-script-base | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: pnpm run compile |