Skip to content

upgrade deps, dates, CI.. convert package to a ES6 module #1

upgrade deps, dates, CI.. convert package to a ES6 module

upgrade deps, dates, CI.. convert package to a ES6 module #1

Workflow file for this run

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [12, 14, 16, 18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
run: npm test

Check failure on line 29 in .github/workflows/node.js.yml

View workflow run for this annotation

GitHub Actions / Node.js CI

Invalid workflow file

The workflow is not valid. .github/workflows/node.js.yml (Line: 29, Col: 7): 'run' is already defined