Skip to content

Commit

Permalink
iterate on gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
justjake committed Dec 27, 2023
1 parent 3e0aad4 commit 2849cac
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
path: "emsdk-cache"
key: ${{ hashFiles('scripts/emcc.sh') }}

- name: Environment info
run: env ; which npx ; npx --version ; npx which tsc ; npx tsc --version

- name: Build
run: yarn build

Expand All @@ -67,13 +70,13 @@ jobs:
run: yarn test:slow

- name: Build tarballs
run: yarn tarball
run: yarn tarball && du -h build/tar/*

- name: Test release with NodeJS/Typescript example
run: ./scripts/smoketest-node.ts

- name: Test release with create-react-app/Typescript example
run: ./scripts/smoketest-website.ts
run: ./scripts/smoketest-create-react-app.ts

- name: Test release with Vite/Vue example
run: ./scripts/smoketest-vite.ts
Expand Down
3 changes: 2 additions & 1 deletion packages/internal-tsconfig/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "0.25.0-rc.6",
"stableVersion": "0.24.0",
"scripts": {
"build": "npx tsc --project . && echo ran build script of $npm_package_json && ls",
"build": "yarn build:tsc && yarn build:tsc --listFiles && echo ran build script of $npm_package_json && ls",
"build:tsc": "npx tsc --project tsconfig.tsup.json",
"clean": "git clean -fx ."
}
}
5 changes: 5 additions & 0 deletions packages/internal-tsconfig/tsconfig.tsup.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "./tsconfig.json",
"include": ["./tsup.base.config.ts"]
}

0 comments on commit 2849cac

Please sign in to comment.