actually fix main workflow
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -16,16 +16,16 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
scripts:
|
scripts:
|
||||||
- name: test
|
- name: test
|
||||||
workspace: reacord
|
cwd: packages/reacord
|
||||||
script: coverage
|
script: coverage
|
||||||
- name: lint
|
- name: lint
|
||||||
workspace: .
|
cwd: "."
|
||||||
script: lint
|
script: lint
|
||||||
- name: typecheck
|
- name: typecheck
|
||||||
workspace: reacord
|
cwd: packages/reacord
|
||||||
script: typecheck
|
script: typecheck
|
||||||
- name: build
|
- name: build
|
||||||
workspace: reacord
|
cwd: packages/reacord
|
||||||
script: build
|
script: build
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
name: ${{ matrix.scripts.name }}
|
name: ${{ matrix.scripts.name }}
|
||||||
@@ -38,4 +38,4 @@ jobs:
|
|||||||
node-version: "16"
|
node-version: "16"
|
||||||
- run: npm i -g pnpm
|
- run: npm i -g pnpm
|
||||||
- run: pnpm install --frozen-lockfile
|
- run: pnpm install --frozen-lockfile
|
||||||
- run: pnpm run -C packages/${{ matrix.scripts.workspace }} ${{ matrix.scripts.script }}
|
- run: pnpm run -C ${{ matrix.scripts.cwd }} ${{ matrix.scripts.script }}
|
||||||
|
|||||||
Reference in New Issue
Block a user