Skip to content

Commit

Permalink
Apply all dependency updates (#512)
Browse files Browse the repository at this point in the history
* apply all dependency updates

* add depcheck
  • Loading branch information
znarf authored Nov 22, 2023
1 parent 5a251e7 commit 1ce960e
Show file tree
Hide file tree
Showing 3 changed files with 7,764 additions and 22,073 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
lint:
runs-on: ubuntu-latest

timeout-minutes: 15

steps:
- name: Update apt
run: sudo apt-get update || exit 0
Expand Down Expand Up @@ -58,6 +60,8 @@ jobs:
prettier:
runs-on: ubuntu-latest

timeout-minutes: 15

steps:
- name: Update apt
run: sudo apt-get update || exit 0
Expand Down Expand Up @@ -96,9 +100,54 @@ jobs:

- run: npm run prettier:check

depcheck:
runs-on: ubuntu-latest

timeout-minutes: 15

steps:
- name: Update apt
run: sudo apt-get update || exit 0

- name: Install graphicsmagick
run: sudo apt-get install -y graphicsmagick

- name: Checkout
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'

# Npm cache
- name: Restore .npm cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-npm-cache-${{ github.sha }}
restore-keys: |
- ${{ runner.os }}-npm-cache-${{ github.sha }}
- ${{ runner.os }}-npm-cache-
- name: Restore node_modules
uses: actions/cache@v3
id: node-modules
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}

- name: Install dependencies
if: steps.node-modules.outputs.cache-hit != 'true'
run: npm ci --prefer-offline --no-audit

- run: npm run depcheck

test:
runs-on: ubuntu-latest

timeout-minutes: 30

services:
redis:
image: redis
Expand Down
Loading

0 comments on commit 1ce960e

Please sign in to comment.