SWC plugin (improve Vite / Nest.js support) #732
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: | |
push: | |
branches: [ master, alpha, beta ] | |
pull_request: | |
branches: [ master, alpha, beta ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18] | |
env: | |
NPM_EMAIL: '' | |
NPM_TOKEN: '' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Enable corepack | |
run: corepack enable | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install | |
run: yarn --frozen-lockfile | |
- name: Build | |
run: | | |
yarn workspace react-obsidian run build | |
yarn workspace eslint-plugin-obsidian run build | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test |