chore: enable dependabot and dependency-submission workflow #1
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: Dependency Submission (npm) | |
| on: | |
| push: | |
| branches: ["master"] | |
| pull_request: | |
| branches: ["master"] | |
| permissions: | |
| contents: write | |
| jobs: | |
| dependency-submission: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Install dependencies (ci install for full lock resolution) | |
| working-directory: src | |
| run: npm ci | |
| - name: Submit npm Dependencies | |
| uses: actions/dependency-review-action@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} |