Skip to content

Commit

Permalink
chore(ci): add a basic ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaskiewicz committed Mar 29, 2024
1 parent 07cbce7 commit eaac07a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

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

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: 'package.json'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run Format Check
run: prettier.dry-run
- name: Build project
run: npm run build
- name: Run Tests
run: npm test -- --no-watch

0 comments on commit eaac07a

Please sign in to comment.