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 04564ee
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

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

jobs:
validate:
runs-on: ubuntu-latest

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

- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: 8

- 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 04564ee

Please sign in to comment.