Skip to content

fix: Dockerfile to reduce vulnerabilities #172

fix: Dockerfile to reduce vulnerabilities

fix: Dockerfile to reduce vulnerabilities #172

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Timings CI - test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [18.x, 19.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install node modules and run tests
run: |
npm ci --ignore-scripts
npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: coverage/cobertura-coverage.xml
fail_ci_if_error: false
- name: Semantic Release [DRY-RUN]
if: ${{ matrix.node-version == '20.x' }}
uses: ./.github/actions/semantic
id: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
publish: false
add-summary: true