Update dependency dprint to v0.46.1 (#26514) #105
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 lint | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ["**"] | |
jobs: | |
check: | |
name: Test and lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Node setup | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "16.15.1" | |
- name: NPM v7 | |
run: npm install -g npm@7 --registry=https://registry.npmjs.org | |
- run: npm i | |
- run: npm run test | |
- run: npm run test-esm | |
- run: npm run format-check |