diff --git a/.github/actions/npm-publish/action.yml b/.github/actions/npm-publish/action.yml index 57679d5c3b..c3fa8adbf7 100644 --- a/.github/actions/npm-publish/action.yml +++ b/.github/actions/npm-publish/action.yml @@ -28,7 +28,7 @@ runs: - name: Install dependencies shell: bash - run: npm ci --include=dev + run: npm ci --include=dev --ignore-scripts - name: Build package if: inputs.require-build == 'true' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64a9ad96ce..9cc10ec163 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,7 +33,7 @@ jobs: needs: rl-scanner with: node-version: 18 - require-build: true + require-build: false secrets: npm-token: ${{ secrets.NPM_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/rl-secure.yml b/.github/workflows/rl-secure.yml index 88efff49cd..e9166b73bd 100644 --- a/.github/workflows/rl-secure.yml +++ b/.github/workflows/rl-secure.yml @@ -39,7 +39,7 @@ jobs: - name: Install dependencies shell: bash - run: npm ci --include=dev + run: npm ci --include=dev --ignore-scripts - name: Build shell: bash @@ -56,8 +56,8 @@ jobs: id: rl-scan-conclusion uses: ./.github/actions/rl-scanner with: - artifact-path: "$(pwd)/${{ inputs.artifact-name }}" - version: "${{ steps.get_version.outputs.version }}" + artifact-path: '$(pwd)/${{ inputs.artifact-name }}' + version: '${{ steps.get_version.outputs.version }}' env: RLSECURE_LICENSE: ${{ secrets.RLSECURE_LICENSE }} RLSECURE_SITE_KEY: ${{ secrets.RLSECURE_SITE_KEY }} @@ -67,4 +67,4 @@ jobs: PRODSEC_TOOLS_ARN: ${{ secrets.PRODSEC_TOOLS_ARN }} - name: Output scan result - run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV \ No newline at end of file + run: echo "scan-status=${{ steps.rl-scan-conclusion.outcome }}" >> $GITHUB_ENV diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48e5bb2b8a..30474b750e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: - name: Install dependencies shell: bash - run: npm ci --include=dev + run: npm ci --include=dev --ignore-scripts - name: ESLint shell: bash diff --git a/package.json b/package.json index b5695d68f8..69cecbc558 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "precommit": "pretty-quick --staged", "lint": "eslint ./src ./test --ext ts", "lint:package": "publint", + "prepare": "npm run build", "start:playground": "node --experimental-specifier-resolution=node --no-warnings --loader ts-node/esm playground/index.ts" }, "repository": {