Skip to content

Commit fad8ad6

Browse files
authored
chores: update CI (#1421)
* update CI * Delete syncToDevOps.yml * update yaml * allow package lock updates * add package lock * updates * fixes for testing * fix typo * remove eslint * updates to testing * update yaml * continue on error * remove eslint * fixing ci issues
1 parent 28c4040 commit fad8ad6

14 files changed

+18054
-187
lines changed

.airtaprc.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
sauce_connect: true
1+
providers:
2+
- airtap-system
3+
- airtap-playwright
24
ui: mocha-bdd
35
browsers:
4-
- name: chrome
6+
- name: chromium
57
version: latest
68
- name: firefox
79
version: latest
810
- name: opera
911
version: latest
10-
- name: internet explorer
11-
version: latest
12-
- name: microsoftedge
13-
version: latest

.github/workflows/mqttjs-test.yml

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: MQTT.js Tests
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
logLevel:
7+
description: 'Debug Filter'
8+
required: true
9+
default: 'mqttjs*'
10+
push:
11+
branches: [ main ]
12+
pull_request:
13+
branches: [ main ]
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
node-version: [12.x, 14.x, 16.x]
21+
fail-fast: false
22+
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Use Node.js ${{ matrix.node-version }}
26+
uses: actions/setup-node@v2
27+
with:
28+
node-version: ${{ matrix.node-version }}
29+
cache: 'npm'
30+
- run: npm ci
31+
- name: Node Tests
32+
run: npm run test:node
33+
continue-on-error: true
34+
env:
35+
CI: true
36+
DEBUG: "mqttjs"
37+
- name: Test Typescript
38+
run: npm run test:typescript
39+
env:
40+
CI: true
41+
DEBUG: "mqttjs"
42+

.github/workflows/nodejs.yml

-32
This file was deleted.

.github/workflows/syncToDevOps.yml

-23
This file was deleted.

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ coverage
1515
test/typescript/.idea/*
1616
test/typescript/*.js
1717
test/typescript/*.map
18-
package-lock.json
1918
# VS Code stuff
2019
**/typings/**
2120
**/.vscode/**

.npmrc

-1
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
package-lock = false

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Individuals making significant and valuable contributions are given commit-acces
1111
There are a few basic ground-rules for contributors:
1212

1313
1. **No `--force` pushes** or modifying the Git history in any way.
14-
1. **Non-master branches** ought to be used for ongoing work.
14+
1. **Non-main branches** ought to be used for ongoing work.
1515
1. **External API changes and significant modifications** ought to be subject to an **internal pull-request** to solicit feedback from other contributors.
1616
1. Internal pull-requests to solicit feedback are *encouraged* for any other non-trivial contribution but left to the discretion of the contributor.
1717
1. Contributors should attempt to adhere to the prevailing code-style.

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
MQTT.js is a client library for the [MQTT](http://mqtt.org/) protocol, written
77
in JavaScript for node.js and the browser.
88

9-
| :warning: WARNING |
10-
|:---------------------------|
11-
| our default branch has been moved from *master* to *main* |
12-
139
| :boom: MQTT.js vNext |
1410
|:---------------------------|
1511
| Want to contribute to the next generation of **MQTT.js**? Join the discussion [here](https://github.com/mqttjs/MQTT.js/discussions/1324). |

0 commit comments

Comments
 (0)