update workflow

This commit is contained in:
MapleLeaf
2022-01-02 22:09:29 -06:00
committed by Darius
parent dc93e92451
commit 338c4c7b17
2 changed files with 2 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ name: deploy docs
on:
push:
branches: [main]
paths: [packages/docs/**, reacord/**/*.ts]
paths: [packages/docs/**, reacord/library/**/*.ts]
jobs:
deploy:

View File

@@ -16,16 +16,12 @@ jobs:
matrix:
scripts:
- name: test
cwd: packages/reacord
script: coverage
- name: lint
cwd: "."
script: lint
- name: typecheck
cwd: packages/reacord
script: typecheck
- name: build
cwd: packages/reacord
script: build
fail-fast: false
name: ${{ matrix.scripts.name }}
@@ -38,4 +34,4 @@ jobs:
node-version: "16"
- run: npm i -g pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run -C ${{ matrix.scripts.cwd }} ${{ matrix.scripts.script }}
- run: pnpm run --dir ${{ matrix.scripts.cwd }} --recursive ${{ matrix.scripts.script }}