Skip to content

Commit

Permalink
Merge pull request #532 from apotdevin/bumpdeps
Browse files Browse the repository at this point in the history
chore: bump deps
  • Loading branch information
apotdevin authored May 26, 2023
2 parents 3ecf7c5 + 4b99ccf commit e663499
Show file tree
Hide file tree
Showing 78 changed files with 10,100 additions and 8,291 deletions.
26 changes: 25 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Test, lint and build

on:
push:
Expand All @@ -14,6 +14,24 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v2

- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: npm list

- name: Install modules
run: npm ci

Expand All @@ -23,10 +41,16 @@ jobs:
- name: Run tests
run: npm run test

- name: Setup Docker Buildx Driver
id: docker_driver_setup
uses: docker/setup-buildx-action@v1

- name: Run docker build
id: docker_build
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
push: false
cache-from: type=gha
cache-to: type=gha,mode=max
Loading

0 comments on commit e663499

Please sign in to comment.