Skip to content

Commit

Permalink
chores: update CI (#1421)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
YoDaMa committed Feb 15, 2022
1 parent 28c4040 commit fad8ad6
Show file tree
Hide file tree
Showing 14 changed files with 18,054 additions and 187 deletions.
10 changes: 4 additions & 6 deletions .airtaprc.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
sauce_connect: true
providers:
- airtap-system
- airtap-playwright
ui: mocha-bdd
browsers:
- name: chrome
- name: chromium
version: latest
- name: firefox
version: latest
- name: opera
version: latest
- name: internet explorer
version: latest
- name: microsoftedge
version: latest
42 changes: 42 additions & 0 deletions .github/workflows/mqttjs-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: MQTT.js Tests

on:
workflow_dispatch:
inputs:
logLevel:
description: 'Debug Filter'
required: true
default: 'mqttjs*'
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
fail-fast: false

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Node Tests
run: npm run test:node
continue-on-error: true
env:
CI: true
DEBUG: "mqttjs"
- name: Test Typescript
run: npm run test:typescript
env:
CI: true
DEBUG: "mqttjs"

32 changes: 0 additions & 32 deletions .github/workflows/nodejs.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/syncToDevOps.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ coverage
test/typescript/.idea/*
test/typescript/*.js
test/typescript/*.map
package-lock.json
# VS Code stuff
**/typings/**
**/.vscode/**
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
package-lock = false
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Individuals making significant and valuable contributions are given commit-acces
There are a few basic ground-rules for contributors:

1. **No `--force` pushes** or modifying the Git history in any way.
1. **Non-master branches** ought to be used for ongoing work.
1. **Non-main branches** ought to be used for ongoing work.
1. **External API changes and significant modifications** ought to be subject to an **internal pull-request** to solicit feedback from other contributors.
1. Internal pull-requests to solicit feedback are *encouraged* for any other non-trivial contribution but left to the discretion of the contributor.
1. Contributors should attempt to adhere to the prevailing code-style.
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
MQTT.js is a client library for the [MQTT](http://mqtt.org/) protocol, written
in JavaScript for node.js and the browser.

| :warning: WARNING |
|:---------------------------|
| our default branch has been moved from *master* to *main* |

| :boom: MQTT.js vNext |
|:---------------------------|
| Want to contribute to the next generation of **MQTT.js**? Join the discussion [here](https://github.com/mqttjs/MQTT.js/discussions/1324). |
Expand Down
Loading

0 comments on commit fad8ad6

Please sign in to comment.