Skip to content

Update pnpm/action-setup action to v2.4.1 #12

Update pnpm/action-setup action to v2.4.1

Update pnpm/action-setup action to v2.4.1 #12

Workflow file for this run

name: Test
on:
push:
branches:
- '*'
pull_request:
branches:
- main
- develop
jobs:
build:
name: Node unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14', '16']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache .pnpm-store
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
uses: pnpm/[email protected]
with:
version: 6.23.6
run_install: true
- name: Run tests
run: |
pnpm test:ci
env:
CI: true