Skip to content

chore(deps): update actions/checkout action to v3 - autoclosed #33

chore(deps): update actions/checkout action to v3 - autoclosed

chore(deps): update actions/checkout action to v3 - autoclosed #33

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
if: "!contains(github.event.head_commit.message, 'skip ci')"
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [16.x]
runs-on: ${{ matrix.os }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.0.1
with:
version: '6'
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Get npm cache directory
id: pnpm-cache
shell: bash
run: echo "dir=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install Dependencies
run: pnpm install
- name: Build
run: pnpm build