Skip to content

Commit

Permalink
feat(actions): check npm dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
oddyamill committed Sep 17, 2024
1 parent f4605c8 commit 82b483c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/check-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check NPM dependencies

on:
pull_request:
paths: ["package.json", "package-lock.json"]

jobs:
check:
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install dependencies
run: npm ci
1 change: 1 addition & 0 deletions .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
contents: read
packages: write
id-token: write
name: Build image for ${{ matrix.target }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout repository
Expand Down

0 comments on commit 82b483c

Please sign in to comment.