Add install deps action to reuse between workflows

This commit is contained in:
Josh Gross
2023-10-12 13:11:41 -04:00
parent 30d8f852ac
commit a903cf2d66
5 changed files with 18 additions and 41 deletions

View File

@@ -20,13 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: npm
- name: Install dependencies
run: npm ci
- uses: ./.github/actions/install-dependencies
- name: Rebuild the dist/ directory
run: npm run build