ci: trigger workflow on master branch (#136)

This commit is contained in:
Pandipipas
2026-02-25 12:25:45 +01:00
committed by GitHub
parent 494e9919e9
commit e1148d398c
+39
View File
@@ -0,0 +1,39 @@
name: CI
on:
pull_request:
push:
branches:
- master
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
checks:
name: Lint and build
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Build
run: npm run build