Bump serve-static and express in /files_wcf/acp/be.bastelstu.wcf.nodePush #257
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: Code Style | |
on: | |
push: | |
branches: | |
- "5.2" | |
- "5.3" | |
- "5.4" | |
- master | |
pull_request: | |
jobs: | |
ts: | |
name: TS Prettier | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "16" | |
cache: "npm" | |
- run: npm install | |
- name: Run prettier | |
run: | | |
shopt -s globstar | |
npx prettier -w ts/**/*.ts | |
- run: echo "::add-matcher::.github/diff.json" | |
- name: Show diff | |
run: | | |
git checkout -- package-lock.json | |
git diff --exit-code |