Skip to content

Merge pull request #238 from duckduckgo/ci-2023-12-06-bcncz #319

Merge pull request #238 from duckduckgo/ci-2023-12-06-bcncz

Merge pull request #238 from duckduckgo/ci-2023-12-06-bcncz #319

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
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test