Skip to content

πŸš€ pnpm

πŸš€ pnpm #4

Workflow file for this run

name: CI
on:
workflow_call:
inputs:
environment:
required: true
type: string
push:
paths:
- './**'
- '.github/workflows/frontend-unit-tests.yml'
- 'package.json'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
typecheck:
name: 'Typechecking & linting'
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: 'Checking Out Code'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Installing Dependencies'
uses: ./.github/actions/yarn-install
- name: 'Doing the typecheck'
run: pnpm turbo typecheck
- name: 'Running lint'
run: pnpm turbo lint
test:
name: 'Tests'
runs-on: ubuntu-latest
steps:
- name: 'Checking Out Code'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Installing Dependencies'
uses: ./.github/actions/yarn-install
- name: 'Running Unit Tests'
run: pnpm turbo test
build:
name: 'Builds'
runs-on: ubuntu-latest
steps:
- name: 'Checking Out Code'
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: 'Installing Dependencies'
uses: ./.github/actions/yarn-install
- name: 'Building'
run: pnpm turbo build