feat(supabase): add canonical CORS headers export for edge functions #58
Workflow file for this run
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: Fix Dependabot lockfile | |
| on: | |
| pull_request: | |
| paths: | |
| - 'package-lock.json' | |
| permissions: | |
| contents: write | |
| jobs: | |
| fix: | |
| if: github.actor == 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: 20 | |
| - name: Upgrade to latest | |
| run: npm install -g npm@latest | |
| # This is needed to match the npm version used when publishing | |
| - name: Regenerate lockfile | |
| run: npm install --package-lock-only --ignore-scripts | |
| - name: Commit fixed lockfile | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add package-lock.json | |
| git diff --staged --quiet || git commit -m "chore(deps): regenerate lockfile with latest npm" | |
| git push |