-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (31 loc) · 951 Bytes
/
build.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
name: build-app
on:
pull_request:
branches:
- 'develop'
push:
branches:
- 'feature/*'
workflow_dispatch:
jobs:
build-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: nvmrc
uses: browniebroke/read-nvmrc-action@v1
- uses: actions/setup-node@v2
with:
node-version: '${{ steps.nvmrc.outputs.node_version }}'
cache: 'yarn'
- run: yarn install
# - uses: mxschmitt/action-tmate@v3
- run: yarn build
# - run: yarn tests-report-json
# - name: Test Report
# uses: dorny/test-reporter@v1
# if: success() || failure() # run this step even if previous step failed
# with:
# name: Unit Tests # Name of the check run which will be created
# path: test-results.json # Path to test results
# reporter: mocha-json # Format of test results