Skip to content

fix(ci): update workflows to use pnpm #152

fix(ci): update workflows to use pnpm

fix(ci): update workflows to use pnpm #152

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Begin CI...
uses: actions/checkout@v2
- name: Use Node 16
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: Use cached node_modules
uses: actions/cache@v1
with:
path: node_modules
key: nodeModules-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
nodeModules-
- name: Install dependencies
run: pnpm install --frozen-lockfile
env:
CI: true
- name: Test
run: pnpm test
env:
CI: true
- name: Build
run: pnpm build
env:
CI: true