Skip to content

(feat) Re-add CICD and (to my great regret) the trunk checks. (#1) #6

(feat) Re-add CICD and (to my great regret) the trunk checks. (#1)

(feat) Re-add CICD and (to my great regret) the trunk checks. (#1) #6

Workflow file for this run

name: "Linting"
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- created
jobs:
build:
runs-on: ubuntu-22.04
name: "Linting"
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 6.0.2
- name: "Installing dependencies"
run: |
pnpm i
- name: Trunk cache
id: cache-trunk
uses: actions/cache@v3.0.4
with:
path: ~/.cache/trunk/
key: ${{ runner.os }}-trunk
- name: Trunk Check
uses: trunk-io/trunk-action@v1.0.4