Skip to content

Commit

Permalink
chore: update Node version to 20 and modify build process
Browse files Browse the repository at this point in the history
  • Loading branch information
productdevbook committed Jan 3, 2024
1 parent 49aa9b4 commit aafdab0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '20'
cache: pnpm

- name: 📦 Install dependencies
Expand All @@ -41,18 +41,14 @@ jobs:
- name: 👀 Lint
run: pnpm lint

- name: 🚀 Build
run: pnpm build
- name: 🏗️ Prepare
run: pnpm dev:prepare

# - name: 🧪 Test
# run: pnpm test
# env:
# VITE_TEST_DB_URL: ${{ secrets.VITE_TEST_DB_URL }}
- name: 📦 Build
run: pnpm prepack

- name: 🧪 Test with coverage
run: pnpm coverage
env:
VITE_TEST_DB_URL: ${{ secrets.VITE_TEST_DB_URL }}

- name: 📝 Upload coverage
if: always()
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ This is a template for creating a Typescript bundle. It is based on the [Typescr
- Run `pnpm dev:prepare` nuxt build playground nuxt app prepare.
- Run `pnpm build` to build the bundle.
- Run `dev:prepare` to build the bundle in watch mode.
- Run `pnpm play` to playground-nuxt app.
- Run `pnpm play:vue` to playground-vue app.
- Run `pnpm start` to start the bundle.
- Run `pnpm lint` to lint the code. (You can also run `pnpm lint:fix` to fix the linting errors.)
- Run `pnpm test` to run the tests. (You can also run `pnpm test:watch` to run the tests in watch mode.)
Expand Down

0 comments on commit aafdab0

Please sign in to comment.