Skip to content

Commit

Permalink
Require Node.js v14, CI, Version bump to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
exsilium committed Feb 10, 2023
1 parent c1bdb20 commit 47cfdc7
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 10 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Node CI

on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x, 16.x, 17.x, 18.x, 19.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm install and test
run: |
npm install
npm test
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
node-version: 18
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
node-version: 18
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
Expand Down
16 changes: 14 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@
],
"name": "@pylonide/vfs-http-adapter",
"description": "A http middleware to wrap vfs instances and expose them via a RESTful interface",
"version": "0.4.0",
"version": "0.5.0",
"repository": {
"type": "git",
"url": "git://github.com/pylonide/vfs-http-adapter.git"
},
"scripts": {
"test": "echo No tests specified"
},
"main": "restful.js",
"dependencies": {},
"devDependencies": {},
"optionalDependencies": {},
"license": "MIT",
"engines": {
"node": ">= 12.22.1"
"node": ">= 14.21.1"
}
}

0 comments on commit 47cfdc7

Please # to comment.