-
Notifications
You must be signed in to change notification settings - Fork 0
75 lines (69 loc) · 2.26 KB
/
zebpaa-check.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
name: zebpaa-check
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
- name: Run install
run: make install
- name: Run tests
run: make test
- name: Run linter
run: make lint
- name: Test & publish code coverage
# Publish code coverage on Code Climate
# https://github.com/paambaati/codeclimate-action
uses: paambaati/[email protected]
# Add Code Climate secret key
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: make test-coverage
debug: true
# # Name of workflow
# name: Node CI
# # Trigger the workflow on push or pull request
# on:
# - push
# - pull_request
# env:
# CI: true
# jobs:
# build:
# # The type of machine to run the job on
# runs-on: ubuntu-latest
# strategy:
# # Node versions list
# matrix:
# node-version: [20.x]
# steps:
# # Check-out repository under GitHub workspace
# # https://github.com/actions/checkout
# - uses: actions/checkout@v4
# # Step's name
# - name: Use Node.js ${{ matrix.node-version }}
# # Configures the node version used on GitHub-hosted runners
# # https://github.com/actions/setup-node
# uses: actions/setup-node@v4
# # The Node.js version to configure
# with:
# node-version: ${{ matrix.node-version }}
# cache: 'npm'
# - run: make install
# - run: make lint
# - run: make test
# - name: Test & publish code coverage
# # Publish code coverage on Code Climate
# # https://github.com/paambaati/codeclimate-action
# uses: paambaati/[email protected]
# # Add Code Climate secret key
# env:
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
# with:
# coverageCommand: make test-coverage
# debug: true