+
Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Support for Node 14, the new LTS release #573

Merged
merged 6 commits into from
Feb 12, 2021
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: 34 additions & 0 deletions .github/workflows/build+test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build + Test

on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '14' ]
name: Node ${{ matrix.node }} build
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-node${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
- name: Install
run: yarn
- name: Lint
run: yarn lint
- name: Lint Types
run: yarn lint-types
- name: Build
run: yarn gulp build-web # build-node was already executed during Install step
- name: Test Node
run: yarn test-node
- name: Test Browser
run: yarn test-browser
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = function (config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['Chrome'],
browsers: [process.env.GITHUB_ACTIONS ? 'ChromeHeadless' : 'Chrome'],


// Continuous Integration mode
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
},
"gypfile": true,
"dependencies": {
"@nimiq/jungle-db": "^0.9.20",
"@nimiq/jungle-db": "^0.9.22",
"atob": "^2.0.3",
"bindings": "^1.3.0",
"btoa": "^1.1.2",
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载