update vitest, add export in package.json #71
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: Bau | |
on: | |
push: | |
branches: | |
- "*" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Build bau/examples/bau-ts-test | |
working-directory: bau/examples/bau-ts-test | |
run: | | |
npm install | |
npm run build | |
- name: Build bau-ui/examples/bau-storybook | |
working-directory: bau-ui/examples/bau-storybook | |
run: | | |
npm install | |
npm run build | |
- name: Build bausaurus/example/bausaurus-doc | |
working-directory: bausaurus/example/bausaurus-doc | |
run: | | |
npm install | |
npm run build | |
- name: Build bausaurus/example/bausaurus-template | |
working-directory: bausaurus/example/bausaurus-template | |
run: | | |
npm install | |
npm run build | |
- name: Build examples/bau-kit | |
working-directory: examples/bau-kit | |
run: | | |
npm install | |
npm run build | |
- name: Build examples/todoapp | |
working-directory: examples/todoapp | |
run: | | |
npm install | |
npm run build |