parent
26e8760bc4
commit
daf6c58764
1 changed files with 23 additions and 0 deletions
23
.forgejo/workflows/ci.yml
Normal file
23
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch: # позволяет запускать вручную
|
||||
|
||||
jobs:
|
||||
test:
|
||||
# Название runner’а, который у тебя настроен
|
||||
runs-on: [docker]
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
Loading…
Add table
Add a link
Reference in a new issue