Skip to content

fix(devcontainer): pin to bullseye debian version #1421

fix(devcontainer): pin to bullseye debian version

fix(devcontainer): pin to bullseye debian version #1421

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
unit:
name: Unit tests
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 16, 18 ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: sudo docker run --name mongo -d -p 27017:27017 mongo:latest
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node${{ matrix.node }}
- run: npm ci
- run: npm test
- run: bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
REF: ${{ github.ref }}
SHA: ${{ github.sha }}
lint:
if: github.event_name != 'pull_request'
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npx eslint .