Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tooomm authored Jun 15, 2022
1 parent 54c9dfc commit 3839547
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Automated tests
name: CI

on:
push:
Expand Down Expand Up @@ -40,15 +40,15 @@ jobs:
node_active_versions:
name: Node ${{ matrix.node_version }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.node_version == 'current' }}
continue-on-error: ${{ matrix.node_version == 'Current' }}

strategy:
fail-fast: false
matrix:
node_version:
- lts/-1
- lts/*
- current
- LTS/-1
- LTS/*
- Current

steps:
- name: Checkout repository
Expand All @@ -60,11 +60,6 @@ jobs:
node-version: ${{ matrix.node_version }}
cache: npm

# See https://github.com/npm/cli/issues/2610
- name: Workaround for Node 14
if: matrix.node_version == '14'
run: sed -i 's/git+ssh/git+https/g' package-lock.json

- name: Install package.json
run: npm clean-install --ignore-scripts

Expand Down Expand Up @@ -100,13 +95,15 @@ jobs:
echo
docker images dr4ft-app
echo
docker sbom dr4ft-app
echo
docker ps
echo
echo "Node version (dr4ft-app image)"
echo "Node version (dr4ft-app image) (returns npm version?)"
docker run dr4ft-app node --version
echo
docker top dr4ft
lint:
name: ESLint
Expand Down

0 comments on commit 3839547

Please sign in to comment.