ci: add actions in github platform
All checks were successful
All checks were successful
This commit is contained in:
parent
792212d770
commit
0131cab6ac
|
@ -1,4 +1,4 @@
|
|||
name: Publish to npm
|
||||
name: Quality Check & Publish
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
24
.github/workflows/workflow.yaml
vendored
Normal file
24
.github/workflows/workflow.yaml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Quality Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
quality:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '22'
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Run Biome
|
||||
run: npm run quality-check
|
||||
if: always()
|
||||
outputs:
|
||||
status: ${{ job.status }}
|
Loading…
Reference in New Issue
Block a user