Skip to content

Commit

Permalink
[chore] add GitHub Action workflow file for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
glassk committed Apr 25, 2024
1 parent 60f308f commit 403cdbb
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run Tests on PR to Dev

on:
pull_request:
branches:
- dev

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

steps:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Install Yarn
run: npm install -g yarn

- name: Install dependencies
run: yarn install

- name: Run lint
run: yarn lint

- name: Compile the project
run: yarn compile

- name: Run tests
run: yarn test

0 comments on commit 403cdbb

Please sign in to comment.