Add log message if verbose and no sourcemaps were uploaded #135
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: run-tests | |
on: | |
pull_request: | |
jobs: | |
run-tests: | |
name: Testing with Node version (${{ matrix.node }}) | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [18.x, 20.x, 22.x, 23.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
fetch-depth: 0 | |
- name: Setup NPM | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
registry-url: "https://registry.npmjs.org" | |
- name: Install dependencies | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: install --frozen-lockfile | |
- name: Run tests | |
run: | | |
cd packages/faro-rollup/src/test | |
yarn install | |
cd ../.. | |
yarn install | |
cd ../faro-webpack/src/test | |
yarn install | |
yarn build | |
cd ../../.. | |
yarn install && yarn build | |
yarn test | |
- name: Build production bundle | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: build |