Skip to content

Commit

Permalink
feat: jslib workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vanhtuan0409 committed Nov 16, 2023
1 parent ef7b45b commit e94250d
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci-jslib.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "[CI] JsLib"

concurrency:
group: ci-jslib-${{ github.ref_name }}
cancel-in-progress: true

on:
pull_request:
types:
- opened
- synchronize
- reopened
- edited
- ready_for_review
paths:
- js/**
branches:
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install dependencies
run: |
cd ./js
bun install
- name: Run test
run: |
cd ./js
bun run check
bun run test

0 comments on commit e94250d

Please sign in to comment.