Skip to content

🔧 Setup GitHub actions #8

🔧 Setup GitHub actions

🔧 Setup GitHub actions #8

Workflow file for this run

name: Synpase
on:
pull_request:
env:
NODE_VERSION: 20.11.0
PNPM_VERSION: 8
PNPM_CACHE:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install pnpm ${{ env.PNPM_VERSION }}
uses: pnpm/action-setup@v2
with:
version: ${{ env.PNPM_VERSION }}
- name: Install node ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: '${{ env.NODE_CACHE }}'
- run: corepack enable
- name: install dependency
run: pnpm install --frozen-lockfile
- name: lint test
run: pnpm lint
- name: run test
run: pnpm test