Skip to content

chore: remove codebuild triggers #1227

chore: remove codebuild triggers

chore: remove codebuild triggers #1227

Workflow file for this run

name: PR checker
on:
pull_request:
types:
- opened
- edited
- synchronize
push:
branches:
- main
env:
lockfile: pnpm-lock.yaml
node_version: "18"
pnpm_version: "8"
# This is to avoid running multiple actions when a PR is updated repeatedly. See
# https://docs.github.com/en/actions/using-jobs/using-concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
name: Install PNPM
id: pnpm-install
with:
version: ${{ env.pnpm_version }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
cache: pnpm
cache-dependency-path: ${{ env.lockfile }}
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm run lint:ci
- name: Types
run: pnpm run types:check
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
name: Install PNPM
id: pnpm-install
with:
version: ${{ env.pnpm_version }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
cache: pnpm
cache-dependency-path: ${{ env.lockfile }}
- name: Install dependencies
run: pnpm install
- name: Tests
run: pnpm run test