Skip to content

Merge pull request #4 from joshbetz/dependabot/npm_and_yarn/word-wrap… #47

Merge pull request #4 from joshbetz/dependabot/npm_and_yarn/word-wrap…

Merge pull request #4 from joshbetz/dependabot/npm_and_yarn/word-wrap… #47

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 19.x]
services:
memcached:
image: memcached
ports:
- 11211:11211
- 11311:11211
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test