build: upgrade prettier to 3.3.2 #244
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: Test and Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [14, 16, 17, 18] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Run tests | |
run: yarn run cov | |
- name: Run build | |
run: yarn run build | |
- name: Update coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: true |