Skip to content

Commit

Permalink
feat: add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alitindrawan24 committed Oct 4, 2023
1 parent 8227432 commit 8e5d189
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/github-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16.x'

- name: Install yarn
run: npm i --global yarn

- name: Install npm packages
run: yarn install

- name: Build assets
run: yarn build

- name: Run test
run: yarn test -- --watchAll=false

0 comments on commit 8e5d189

Please sign in to comment.