store 0.40.0 #2
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: Build, Test, Lint for Master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
node-version: [10.x, 12.x, 14.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- if: matrix.os == 'windows-latest' | |
run: | | |
npm install --global --production windows-build-tools@4.0.0 | |
npm install --global --production node-gyp | |
- name: Install | |
run: | | |
npm ci | |
npm run bs | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test | |
- name: Lint | |
if: matrix.os == 'ubuntu-latest' | |
run: npm run lint |