mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
29 lines
418 B
YAML
29 lines
418 B
YAML
name: CI Checks
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Install dependencies
|
|
run: yarn install
|
|
|
|
- name: Build
|
|
run: yarn build
|
|
|
|
- name: Lint
|
|
run: yarn lint
|
|
|
|
- name: Test
|
|
run: yarn test
|