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
97 changes: 97 additions & 0 deletions .github/funding.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"$schema": "https://fundingjson.org/schema/v1.1.0.json",
"version": "v1.1.0",
"entity": {
"type": "individual",
"role": "maintainer",
"name": "Vitaly Puzrin",
"email": "for.puzrin@gmail.com",
"description": "Open-source software architect and hardware developer.",
"webpageUrl": {
"url": "https://github.com/puzrin"
}
},
"projects": [
{
"guid": "js-yaml",
"name": "js-yaml",
"description": "YAML parser and serializer for JavaScript and Node.js.",
"webpageUrl": {
"url": "https://github.com/nodeca/js-yaml"
},
"repositoryUrl": {
"url": "https://github.com/nodeca/js-yaml"
},
"licenses": [
"spdx:MIT"
],
"tags": [
"yaml",
"parser",
"serializer",
"javascript",
"nodejs",
"developer-tools",
"configuration",
"infrastructure"
]
}
],
"funding": {
"channels": [
{
"guid": "github-sponsors",
"type": "payment-provider",
"address": "https://github.com/sponsors/puzrin",
"description": "GitHub Sponsors for recurring or one-time support."
},
{
"guid": "paypal",
"type": "payment-provider",
"address": "https://paypal.me/forpuzrin",
"description": "PayPal for one-time support."
}
],
"plans": [
{
"guid": "maintenance-basic",
"status": "active",
"name": "Basic maintenance",
"description": "Security fixes and basic maintenance.",
"amount": 10000,
"currency": "USD",
"frequency": "yearly",
"channels": [
"github-sponsors",
"paypal"
]
},
{
"guid": "deep-maintenance",
"status": "active",
"name": "Deep maintenance",
"description": "TypeScript migration, tokenizer refactoring, parser debt reduction, alias hardening, and null-prototype objects for mappings.",
"amount": 25000,
"currency": "USD",
"frequency": "yearly",
"channels": [
"github-sponsors",
"paypal"
]
},
{
"guid": "goodwill",
"status": "active",
"name": "General support",
"description": "Support ongoing maintenance of js-yaml at any level.",
"amount": 0,
"currency": "USD",
"frequency": "one-time",
"channels": [
"github-sponsors",
"paypal"
]
}
]
}
}
17 changes: 7 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,22 @@ on:
- cron: '0 0 * * 3'

permissions:
contents: read # to fetch code (actions/checkout)
contents: read

jobs:
build:
test:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ '24' ]

steps:
- uses: actions/checkout@v5

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js LTS
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
node-version: lts/*

- run: npm install
- run: npm i

- run: npm test
- name: Test
run: npm test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
JS-YAML - YAML 1.2 parser / writer for JavaScript
=================================================

[![CI](https://github.com/nodeca/js-yaml/workflows/CI/badge.svg?branch=master)](https://github.com/nodeca/js-yaml/actions)
[![CI](https://github.com/nodeca/js-yaml/actions/workflows/ci.yml/badge.svg)](https://github.com/nodeca/js-yaml/actions/workflows/ci.yml)
[![NPM version](https://img.shields.io/npm/v/js-yaml.svg)](https://www.npmjs.org/package/js-yaml)

__[Online Demo](https://nodeca.github.io/js-yaml/)__
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"scripts": {
"lint": "eslint .",
"test": "npm run lint && mocha",
"coverage": "npm run lint && nyc mocha && nyc report --reporter html",
"coverage": "npm run lint && c8 -r html mocha",
"demo": "npm run lint && node support/build_demo.js",
"gh-demo": "npm run demo && gh-pages -d demo -f",
"browserify": "rollup -c support/rollup.config.js",
Expand All @@ -57,7 +57,7 @@
"fast-check": "^2.8.0",
"gh-pages": "^3.1.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"c8": "^11.0.0",
"rollup": "^2.34.1",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-terser": "^7.0.2",
Expand Down
Loading