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 c2572ed
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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: 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 c2572ed

Please sign in to comment.