botserver/.forgejo/workflows/node.yaml
Rodrigo Rodriguez (Pragmatismo) c80eabb066
Some checks are pending
GBCI / build (push) Waiting to run
delete: Remove issue and pull request templates
2025-03-26 19:46:19 -03:00

30 lines
No EOL
545 B
YAML

name: GBCI
run: git config --global http.sslVerify false
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Build project
run: npm run build --if-present