mirror of
https://github.com/dnlbauer/obsidian-dataview-autocompletion.git
synced 2026-09-10 22:25:29 +00:00
Create test.yaml
This commit is contained in:
committed by
Daniel Bauer
parent
588c2d33de
commit
6b8c0ea55e
41
.github/workflows/test.yaml
vendored
Normal file
41
.github/workflows/test.yaml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
name: Build and test project
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check code formatting
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: npm install
|
||||
- run: npm run check-format
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
name: Build project
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
name: Test project
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: npm install
|
||||
- run: npm run test
|
||||
Reference in New Issue
Block a user