FIX: stop publishing twice #229
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: Web Vitals CI - Unit Tests & Code Coverage | |
on: | |
create: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
push: | |
branches: | |
- latest | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
env: | |
CI: true | |
LOG_LEVEL: 'error' | |
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
GIT_COMMIT_SHA: ${{ github.sha }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Node Modules | |
run: ./scripts/installNodeModules.sh | |
- name: Unit Tests | |
run: yarn test:ci |