Skip to content

Commit

Permalink
add simple gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sitek94 committed Nov 24, 2023
1 parent 83fd927 commit f96a1d6
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build-and-lint:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/[email protected]

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install Dependencies
run: pnpm install

- name: Lint
run: pnpm lint

- name: Build
run: pnpm build

0 comments on commit f96a1d6

Please sign in to comment.