chore(deps): update dependency husky to v9 #168
Workflow file for this run
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: Build & Deploy | |
on: | |
pull_request: | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: 'https://registry.npmjs.org' | |
- run: npm install | |
- run: npm run build | |
- run: npm install | |
- name: kkt core | |
working-directory: core | |
run: npm run build | |
- name: example @template/basic | |
working-directory: example/basic | |
run: npm run build && npm run coverage | |
- name: example @template/basic-entry | |
working-directory: example/basic-entry | |
run: npm run build | |
- name: example @template/chrome-plugin | |
working-directory: example/chrome-plugin | |
run: npm run build && npm run coverage | |
- name: example @template/electron | |
run: npm run build && npm run build:main | |
working-directory: example/electron | |
- name: example @template/less | |
working-directory: example/less | |
run: npm run build | |
- name: example @template/markdown | |
working-directory: example/markdown | |
run: npm run build | |
- name: example @template/react-component-tsx | |
working-directory: example/react-component-tsx | |
run: | | |
npm run build | |
npm run doc | |
npm run coverage | |
# The following changes are being made to your tsconfig.json file: | |
# - compilerOptions.noEmit must be true | |
git checkout -f ./tsconfig.json | |
- name: example @template/react-router | |
working-directory: example/react-router | |
run: npm run build | |
- name: example @template/react-router-ts | |
working-directory: example/react-router-ts | |
run: npm run build | |
- name: example @template/scss | |
working-directory: example/scss | |
run: npm run build | |
- name: example @template/stylus | |
working-directory: example/stylus | |
run: npm run build | |
- name: example @template/typescript | |
working-directory: example/typescript | |
run: npm run build && npm run coverage | |
- name: example @template/uiw | |
working-directory: example/uiw | |
run: npm run build |