Merge pull request #147 from yobta/obsidian-vault #1206
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: Test | |
'on': | |
push: null | |
pull_request: null | |
jobs: | |
full: | |
name: Node.js 16 Full | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: make build | |
- name: Docs | |
run: npm run build-storybook | |
env: | |
FORCE_COLOR: 2 | |
short: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: | |
- 17 | |
- 14 | |
name: Node.js ${{ matrix.node-version }} Quick | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: npm | |
- name: Install dependencies | |
run: npm ci | |
- name: Run checks | |
run: make check | |
env: | |
FORCE_COLOR: 2 |