deps: run pnpm update
#49
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: Run tests | |
on: | |
push: | |
branches-ignore: | |
- main | |
env: | |
PNPM_VERSION: "9.0.4" | |
NODE_VERSION: "18.17.0" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Setup PNPM | |
uses: pnpm/[email protected] | |
with: | |
version: "${{ env.PNPM_VERSION }}" | |
- uses: actions/setup-node@v2 | |
with: | |
cache: pnpm | |
node-version: "${{ env.NODE_VERSION }}" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run tests | |
run: pnpm test | |
# TODO add coverage using | |
# <https://github.com/marketplace/actions/code-coverage-summary> | |
# once nyc works again | |
check-build-files: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PNPM | |
uses: pnpm/[email protected] | |
with: | |
version: "${{ env.PNPM_VERSION }}" | |
- uses: actions/setup-node@v2 | |
with: | |
cache: pnpm | |
node-version: "${{ env.NODE_VERSION }}" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Run build | |
run: pnpm run build | |
check-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup PNPM | |
uses: pnpm/[email protected] | |
with: | |
version: "${{ env.PNPM_VERSION }}" | |
- uses: actions/setup-node@v2 | |
with: | |
cache: pnpm | |
node-version: "${{ env.NODE_VERSION }}" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Generate docs for all packages | |
run: pnpm typedoc |