Skip to content

Commit

Permalink
feat: added github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Jan 8, 2025
1 parent 36727df commit 3225f2c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Automatic Checks

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

jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Check Types
run: pnpm run check
- name: Check Linting
run: pnpm run lint
- name: Check Successful Build
run: pnpm run build

0 comments on commit 3225f2c

Please sign in to comment.