engines commit cbad39ae4f3c1d0d7e48744fb4a7abb25f6700ec #791
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dry-publish | |
# Run on push only for main, if not it will trigger push & pull_request on PRs at the same time | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '*.md' | |
- 'LICENSE' | |
- 'renovate.json' | |
pull_request: | |
paths-ignore: | |
- '*.md' | |
- 'LICENSE' | |
- 'renovate.json' | |
workflow_dispatch: | |
env: | |
CI: true | |
jobs: | |
build: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
# Debounce so we won't run competing jobs if we merge multiple PRs in prisma-engines in quick succesion | |
- name: Debounce 1 minute | |
uses: zachary95/[email protected] | |
with: | |
wait: 60 | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: bash .github/workflows/setup.sh | |
- run: pnpm run publish-all --dry | |
id: publish_script | |
env: | |
GITHUB_EVENT_CLIENT_PAYLOAD: '{"branch": "main", "commit": "e2942655e5370b20e0b3942f4717c2a302b0b620"}' | |
# https://docs.npmjs.com/generating-provenance-statements | |
NPM_CONFIG_PROVENANCE: true |