diff --git a/.github/workflows/build-for-gh-pages.yml b/.github/workflows/build-for-gh-pages.yml index 09db44d4..58df046a 100644 --- a/.github/workflows/build-for-gh-pages.yml +++ b/.github/workflows/build-for-gh-pages.yml @@ -23,6 +23,7 @@ jobs: - name: build run: | npm ci + npm run compile npm run docs - uses: JamesIves/github-pages-deploy-action@v4.6.3 with: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0ec22bf7..87326548 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,8 +18,7 @@ jobs: os: [macos-latest, ubuntu-latest, windows-latest] steps: - uses: actions/checkout@v4.1.7 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4.0.3 + - uses: actions/setup-node@v4.0.3 with: node-version-file: '.nvmrc' # handle NPM / Node.js repeatedly bricking their npm setup on Windows diff --git a/package.json b/package.json index aae994ae..bdfb2350 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "compile": "virmator compile", "docs": "npm run exec --workspace @augment-vir/scripts src/scripts/run-typedoc.script.ts", "format": "virmator format", - "postinstall": "tsx packages/scripts/src/scripts/fix-ts-bin.script.ts", + "postinstall": "cd packages/common && tsc -b -f --pretty && cd ../.. && tsx packages/scripts/src/scripts/fix-ts-bin.script.ts", "lint": "virmator lint fix", "publish": "virmator publish \"npm run test:all\"", "test": "mono-vir for-each npm run test",