Bump the all-dependencies group across 2 directories with 2 updates (… #290
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: Deploy PostCSS Preset Env | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - 'main' | |
| paths: | |
| - 'sites/package-lock.json' | |
| - 'sites/postcss-preset-env/**' | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build: | |
| name: Request Netlify Webhook | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |
| with: | |
| fetch-depth: 1 | |
| - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 | |
| with: | |
| node-version: 24 | |
| - name: npm ci | |
| run: | | |
| cd sites/postcss-preset-env | |
| npm ci --ignore-scripts | |
| - name: build | |
| run: | | |
| cd sites/postcss-preset-env | |
| npm run build | |
| - name: trigger deploy | |
| env: | |
| DEPLOY_HOOK: ${{ secrets.PRESET_ENV_DEPLOY_HOOK }} | |
| run: curl -X POST -d {} $DEPLOY_HOOK |