Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 20 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
# For more information see: https://github.com/marketplace/actions/setup-node-js-environment

name: CI

Expand All @@ -8,23 +8,29 @@ on:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
inputs:
ref:
description: 'Tag, or commit SHA to checkout (optional)'
required: false

env:
CI: "true"

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 17.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

node: [ 22, 24 ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
# cache: 'npm'
- run: npm install --ignore-scripts
- run: npm run ci
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref || github.ref }}
- name: Setup Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install --ignore-scripts
- run: npm run ci
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ es/
*.tgz
.eslintcache
.nyc_output
yarn.lock
.DS_Store

package-lock.json
pnpm-lock.yaml
yarn.lock
14 changes: 0 additions & 14 deletions .npmignore

This file was deleted.

2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
package-lock=false
ignore-scripts=true
32 changes: 18 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,11 @@
"doc": "docs",
"test": "test"
},
"files": [
"data",
"lib",
"src"
],
"scripts": {
"all": "npm-run-all clean lint build test",
"build": "rollup -c",
Expand All @@ -372,24 +377,23 @@
"zuul": "zuul test/*.js"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/core": "^7.28.3",
"babelify": "^10.0.0",
"c8": "^7.11.3",
"core-js": "^3.22.5",
"dtslint": "^4.2.1",
"eslint": "^8.16.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.0",
"eslint-plugin-promise": "^6.0.0",
"mocha": "^10.0.0",
"c8": "^10.1.3",
"core-js": "^3.45.1",
"eslint": "^8.57.1",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.6.0",
"mocha": "^11.7.1",
"npm-run-all": "^4.1.5",
"regenerator-runtime": "^0.13.9",
"rimraf": "^3.0.2",
"rollup": "^2.74.1",
"regenerator-runtime": "^0.14.1",
"rimraf": "^6.0.1",
"rollup": "^2.79.2",
"serialize-to-js": "^3.1.2",
"serialize-to-module": "^1.1.0",
"typescript": "^4.6.4"
"typescript": "^5.9.2"
},
"engines": {
"node": ">=12.0.0"
Expand Down