Bump prettier from 3.5.0 to 3.5.1 #22
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: Node.js CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
APP_ENV: test | |
NODE_ENV: test | |
CC_TEST_REPORTER_ID: 5dd2d0535f5715000be33a5a98876838adcf96520389bf9ababa1160acdf9dc4 | |
strategy: | |
matrix: | |
node-version: [22.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'npm' | |
- run: npm i | |
- run: npm run build | |
- run: npm run lint | |
- name: Download Code Climate Test Reporter | |
run: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | |
- name: Make Test Reporter Executable | |
run: chmod +x ./cc-test-reporter | |
- name: Run Code Climate Test Reporter (Before Build) | |
run: ./cc-test-reporter before-build | |
- name: Run Tests with Coverage | |
run: npm run cover | |
- name: Run Code Climate Test Reporter (After Build) | |
run: ./cc-test-reporter after-build | |
if: github.event_name != 'pull_request' |