Skip to content

Bump word-wrap from 1.2.3 to 1.2.4 in /script (#420) #344

Bump word-wrap from 1.2.3 to 1.2.4 in /script (#420)

Bump word-wrap from 1.2.3 to 1.2.4 in /script (#420) #344

name: "Node.js CI - Script"
on:
push:
paths:
- ".github/workflows/node.js-script.yml"
- "script/**"
pull_request:
paths:
- "script/**"
jobs:
build-script:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
working-directory: script
- run: npm run build
working-directory: script
lint-script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci
working-directory: script
- run: npm run lint
working-directory: script