Skip to content

Commit

Permalink
Create check.yml
Browse files Browse the repository at this point in the history
Signed-off-by: qiaofeng1227 <76487013@qq.com>
  • Loading branch information
qiaofeng1227 authored Aug 21, 2024
1 parent afae1fa commit 7cfea0c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev

jobs:
build:
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: '18'

- name: Install dependencies
run: npm install -g yarn && yarn install

- name: Run tests
run: npm run start -- --host 0.0.0.0 --port 3000 --locale en

0 comments on commit 7cfea0c

Please sign in to comment.