Update dependency prettier to v3 #666
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] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: npm-${{ hashFiles('package-lock.json') }} | |
- run: npm ci | |
- run: npm run tsc | |
- run: npm run prettier:check | |
- run: npm run lint | |
- run: npm run test -- --verbose | |
# TODO: CIで実行すると差が発生する。原因は未調査。 | |
# - name: Check for differences in generated icons | |
# run: | | |
# npm run generate-icons | |
# git diff --exit-code --quiet |