Skip to content

chore(deps): lock file maintenance (#191) #383

chore(deps): lock file maintenance (#191)

chore(deps): lock file maintenance (#191) #383

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
env:
DISCORD_ID: ${{ vars.DISCORD_ID }}
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3.8.1
with:
node-version-file: '.nvmrc'
- name: Restore npm cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Run build
run: npm run build
# todo: implement tests