fix pnpm scripts & lock pnpm version

This commit is contained in:
itsMapleLeaf
2022-07-09 15:13:44 -05:00
parent 2324f3c89f
commit 87ecb20f7a

View File

@@ -19,15 +19,15 @@ jobs:
# if these run in the same process, it dies, # if these run in the same process, it dies,
# so we test them separate # so we test them separate
- name: test reacord - name: test reacord
run: pnpm test -C packages/reacord run: pnpm -C packages/reacord test
- name: test website - name: test website
run: pnpm test -C packages/website run: pnpm -C packages/website test
- name: build - name: build
run: pnpm build --recursive run: pnpm --recursive run build
- name: lint - name: lint
run: pnpm lint run: pnpm run lint
- name: typecheck - name: typecheck
run: pnpm typecheck --parallel run: pnpm --recursive run typecheck
name: ${{ matrix.command.name }} name: ${{ matrix.command.name }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -36,6 +36,6 @@ jobs:
with: with:
# https://github.com/actions/setup-node#supported-version-syntax # https://github.com/actions/setup-node#supported-version-syntax
node-version: "16" node-version: "16"
- run: npm i -g pnpm - run: npm i -g pnpm@7.5.0
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- run: ${{ matrix.command.run }} - run: ${{ matrix.command.run }}