-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (36 loc) · 886 Bytes
/
ci.yml
File metadata and controls
36 lines (36 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
on:
workflow_dispatch:
push:
branches:
- main
- feature/*
- release/*
paths:
- '**.ts'
- '**.json'
- '**.yml'
pull_request:
paths:
- '!*.md'
jobs:
test:
strategy:
matrix:
# platform: [ windows-latest, macOS-latest ]
platform: [ubuntu-latest]
node: ['16']
name: Code check on Node.${{ matrix.node }}/${{ matrix.platform }}
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm ci
- run: npm test
- uses: paambaati/codeclimate-action@v2.7.5
env:
CC_TEST_REPORTER_ID: af882de8052c9e436d8e7980bec9c61773f9a9e8cf327b27e97832bfa9628f11
with:
coverageLocations: |
${{github.workspace}}/coverage/lcov.info:lcov