[yarn] enable node-module linker #84
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: pull_request | |
jobs: | |
unit-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
node: | |
- 10 | |
- 12 | |
- 14 | |
name: Unit tests w/ Node.js ${{matrix.node}}.x | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Node ${{matrix.node}}.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{matrix.node}}.x | |
- run: yarn install | |
- run: yarn test | |
check-oss: | |
name: Check Open Source compliance | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '12.16.1' | |
- run: yarn install | |
- run: yarn oss | |
- run: git diff --exit-code && git diff --cached --exit-code || (echo "Please run 'yarn oss' and commit the result." && exit 1) |