Skip to content

Commit

Permalink
added a PR pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kalio007 committed Jul 22, 2024
1 parent f03d0ef commit effb72b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build, Test, and Deploy for Dev Branch

on:
push:
branch:
branchs:
- dev

jobs:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
pull_request:
branches:
- dev

jobs:
test:
runs-on: ubuntu-latest

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

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

- name: Install dependencies
run: yarn install

- name: Run tests
run: yarn test
env:
CI: true

0 comments on commit effb72b

Please sign in to comment.