Skip to content

Commit

Permalink
Merge pull request #1 from jiftechnify/setup-workflow
Browse files Browse the repository at this point in the history
setup CI workflow
  • Loading branch information
jiftechnify committed Oct 28, 2023
2 parents a3468ed + acca2d2 commit 45321d9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI
on:
pull_request:
push:
tags:
- "*"

jobs:
ci:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "20.x"

- name: Install dependencies
run: yarn

# build before testing to generate entrypoint file, which is needed in order that test runs successfully
- name: Build
run: yarn build

- name: Test
run: yarn test

0 comments on commit 45321d9

Please sign in to comment.