Skip to content

Commit

Permalink
feat: enforce package health
Browse files Browse the repository at this point in the history
  • Loading branch information
mxdvl committed Feb 1, 2023
1 parent cb3a9fc commit 38e33ef
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 📦 Dependencies checks
on:
pull_request:
paths:
- 'dotcom-rendering/package.json'
- '**/yarn.lock'

# Allows you to run this workflow manually from the Actions tab.
workflow_dispatch:

jobs:
types-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.30.0

- name: Check dependencies
run: |
deno run \
--allow-read=dotcom-rendering \
--allow-net=unpkg.com \
https://deno.land/x/[email protected]/src/main.ts \
dotcom-rendering/dotcom-rendering/package.json \
--cache

0 comments on commit 38e33ef

Please sign in to comment.