Skip to content

Version Packages (#9) #18

Version Packages (#9)

Version Packages (#9) #18

Workflow file for this run

name: "build"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ["16.x", "18.x"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/[email protected]
with:
version: 8.6.2
- name: Cache pnpm modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- run: pnpm install
- run: pnpm run build
- run: pnpm run test
- run: pnpm run lint