diff --git a/.github/workflows/javascript-test.yml b/.github/workflows/javascript-test.yml index e100242..8bfa0e2 100644 --- a/.github/workflows/javascript-test.yml +++ b/.github/workflows/javascript-test.yml @@ -31,7 +31,7 @@ jobs: ${{ runner.os }}-yarn- - name: Install dependencies run: yarn install --immutable --mode skip-build - - run: yarn run postinstall + - run: yarn run generate - run: yarn run ${{ matrix.command }} conclude: diff --git a/Dockerfile b/Dockerfile index e72bbd8..fac2a6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ COPY package.json yarn.lock .yarnrc.yml ./ COPY .papi ./.papi RUN yarn install --immutable +RUN yarn run generate COPY . . diff --git a/package.json b/package.json index 38a9dcc..bef78fe 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "start": "node dist", "build": "ncc build --license LICENSE", - "postinstall": "papi", + "generate": "papi", "test": "vitest", "fix": "npx eslint --fix 'src/**/*.ts' && npx prettier --write 'src/**/*.{ts,yml}'", "lint": "npx eslint 'src/**/*.ts' && npx prettier --check 'src/**/*.{ts,yml}'"