Skip to content

Commit

Permalink
v0.11.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Aug 14, 2023
1 parent c62d3cd commit 74c05c9
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 2 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# This workflow will do a clean install of node dependencies, 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

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 20.x]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run build --if-present
- run: npm test

- name: Coveralls
uses: coverallsapp/github-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jsonic/directive",
"version": "0.11.3",
"version": "0.11.4",
"description": "This plugin allows the [Jsonic](https://jsonic.senecajs.org) JSON parser to support directive syntax.",
"main": "directive.js",
"type": "commonjs",
Expand Down Expand Up @@ -49,7 +49,8 @@
"jest": "^29.6.2",
"prettier": "^3.0.1",
"tinyify": "^4.0.0",
"typescript": "^5.1.6"
"typescript": "^5.1.6",
"@jsonic/jsonic-next": ">=2.12.1"
},
"peerDependencies": {
"@jsonic/jsonic-next": ">=2.12.1"
Expand Down

0 comments on commit 74c05c9

Please sign in to comment.