Skip to content

Commit

Permalink
install vitest (#142)
Browse files Browse the repository at this point in the history
* install vitest

* Format tests

* update ci

* fix lock files in example

* Remove nodemon from run dev example-ssr, because it breaks sandbox ci
  • Loading branch information
Willy Brauner authored Oct 18, 2023
1 parent 9d35041 commit 43c7879
Show file tree
Hide file tree
Showing 19 changed files with 598 additions and 8,321 deletions.
7 changes: 0 additions & 7 deletions .babelrc

This file was deleted.

1 change: 0 additions & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"buildCommand": "build",
"packages": ["/"],
"sandboxes": ["/examples/example-client", "/examples/example-ssr"],
"node": "18"
}
23 changes: 17 additions & 6 deletions .github/workflows/ci.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: tests
on: [push]
jobs:
build:
Expand All @@ -13,13 +13,24 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- uses: pnpm/[email protected]
- name: Checkout
uses: actions/checkout@v3
with:
version: 6.32.11
run_install: true
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: build
run: npm run build
run: pnpm run build

- name: test
run: npm run test
run: pnpm run test

- name: size
run: pnpm run size
2 changes: 0 additions & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ src/**
test
example
example-node
.babelrc
.prettierignore
.prettierrc
jest.config.ts
tsconfig.json
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
.cache
node_modules
dist
example/dist/*
Loading

0 comments on commit 43c7879

Please sign in to comment.