run local prettier instead of global one #147
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
on: push | |
name: Main Workflow | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
node: ["18", "20", "21"] | |
name: Run NPM Stuff | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{matrix.node}} | |
- run: npm install | |
- run: npm run lint | |
- run: npm run test |