Skip to content

Commit

Permalink
chore: node js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux committed Oct 23, 2023
1 parent 5231e5c commit edb8482
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -39,7 +39,7 @@ jobs:
runs-on: ubuntu-latest # Firefox in it
strategy:
matrix:
node-version: [14.x]
node-version: [16.x]
permissions:
contents: write # for release
steps:
Expand Down
26 changes: 8 additions & 18 deletions CONTRIBUTING.md
@@ -1,33 +1,23 @@
# Builds

Node.js >= 16

```
$ npm run build
$ npm run watch
```

# Tests

## Full test
## Full test (NodeJS)

```
$ npm test
```

## Mocha (NodeJS)
## Jest with jsdom (browser)

```
$ npm run mocha
$ npm run mocha-watch
$ npm run istanbul
```

## Karma (browser)

```
$ npm run karma
$ npm run karma-watch
$ npm run karma-webpack
$ npm run karma-webpack-watch
$ npm run test:browser
```

***
Expand Down Expand Up @@ -73,7 +63,7 @@ The way it should be done:

***

# API Tests
# API Tests

These tests access real account on real production/staging servers. In order to make things happen a proper environment
variables have to be defined:
Expand Down Expand Up @@ -114,14 +104,14 @@ $ RCSDK_API_KEY=YOUR_API_KEY (...) RCSDK_AGS_DBNAME=database npm run test-api
```
This command will run `lerna version prerelease` to update versions and push to git with appropriate tag, tag will
be picked up by CI and actual publish will happen (`lerna publish`).

3. *Versioned release*:
```bash
$ npm run prepare:release [-- --yes --no-git-tag-version --no-push]
```
This command will run `lerna version` to update versions and push to git with appropriate tag, tag will be picked up
by CI and actual publish will happen (`lerna publish`).

4. *Manual publish* — run publishing locally, it assumes you already prepared your release:
```bash
$ npm run publish:fromgit
Expand Down

0 comments on commit edb8482

Please sign in to comment.