Skip to content

Use docker (#9)

Use docker (#9) #12

Workflow file for this run

name: JavaScript
on:
push:
branches: [ "main" ]
paths:
- javascript/**
pull_request:
branches: [ "main" ]
paths:
- javascript/**
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: javascript
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
cache-dependency-path: javascript/package-lock.json
- name: Install
run: npm install
- name: Test
run: npm test