feat(ci): migrar .github/workflows → .forgejo/workflows (Forgejo Actions)
Some checks are pending
CI / build (push) Waiting to run
Some checks are pending
CI / build (push) Waiting to run
This commit is contained in:
parent
d1725d4af9
commit
36e9187d70
1 changed files with 29 additions and 0 deletions
29
.forgejo/workflows/ci.yml
Normal file
29
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
|
||||
- name: Install dependencies
|
||||
run: 'npm ci'
|
||||
|
||||
- name: Run lint
|
||||
run: 'npm run lint'
|
||||
|
||||
- name: Run build
|
||||
run: 'npm run build'
|
||||
Loading…
Reference in a new issue