Skip to content

Commit

Permalink
Add github workflow configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
thasmo committed Jul 24, 2024
1 parent 25a4fe2 commit 049c3da
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CHECK

on:
pull_request:
push:
branches:
- main

jobs:
install:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup package manager
uses: pnpm/action-setup@v4
with:
run_install: false
- name: install node
uses: actions/setup-node@v4
with:
cache: 'pnpm'
node-version-file: '.nvmrc'
- name: install dependencies
run: pnpm install
- name: lint codebase
run: pnpm lint

0 comments on commit 049c3da

Please sign in to comment.