Merge pull request #1149 from Esri/b/9928-local-calcite-web-files #115
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: Pre-Release Tests | |
# On pushes to master (i.e. merging a PR) | |
# run all tests, on win, macos, linux, on node 12 & 14 | |
on: | |
push: | |
branches: | |
- master | |
# Dont run if it's just markdown or doc files | |
paths-ignore: | |
- "**.md" | |
- "docs/**" | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
node: [14] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Update to NPM 7 for workspace support | |
run: npm install -g npm@7 | |
- name: Install Dependencies | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Lint | |
run: npm run lint | |
- name: Test in Node | |
run: npm run test:node | |
- name: Test in Chrome | |
run: npm run test:chrome:ci | |
- uses: codecov/codecov-action@v1 | |
with: | |
directory: ./coverage |