Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ runs:
- run: corepack enable
shell: bash

- name: Validate package.json
run: node -e "JSON.parse(require('fs').readFileSync('package.json','utf8'))"
shell: bash

- run: yarn install --immutable
shell: bash
if: "inputs.skip-yarn-install != 'true'"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
mode:
- command: prettier:check
skip-build: true
- command: test
- command: verify
skip-build: true

fail-fast: false
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"build": "rsbuild build",
"preview": "rsbuild preview",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "yarn typecheck && yarn build",
"test": "yarn typecheck",
"verify": "yarn typecheck && yarn build",
"prettier:check": "prettier --list-different .",
"prettier:fix": "prettier --write ."
},
Expand Down