-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to main branch and GitHub Actions
- Loading branch information
Showing
8 changed files
with
71 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Checks | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
lint: | ||
name: Linting | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Lint with markdownlint | ||
run: yarn lint:markdownlint | ||
|
||
- name: Lint with prettier | ||
run: yarn lint:prettier | ||
|
||
- name: Lint with tsc | ||
run: yarn lint:tsc | ||
|
||
- name: Lint with yarn-deduplicate | ||
run: yarn lint:yarn-deduplicate | ||
|
||
unit-tests: | ||
name: Unit tests | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
node: [10, 12, 14] | ||
exclude: | ||
- os: macos-latest | ||
node: 10 | ||
- os: macos-latest | ||
node: 14 | ||
- os: windows-latest | ||
node: 10 | ||
- os: windows-latest | ||
node: 14 | ||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Run unit tests | ||
run: yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
# AWS IoT Button logger to git | ||
|
||
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE) | ||
[![Azure Pipelines status](https://img.shields.io/azure-devops/build/kachkaev/github-pipelines/1/master.svg)](https://dev.azure.com/kachkaev/github-pipelines/_build?definitionId=1) | ||
[![Azure Pipelines coverage](https://img.shields.io/azure-devops/coverage/kachkaev/github-pipelines/1/master.svg)](https://dev.azure.com/kachkaev/github-pipelines/_build?definitionId=1) | ||
[![GitHub Workflow Status (checks)](https://img.shields.io/github/workflow/status/kachkaev/aws-iot-button-logger-to-git/Checks?label=checks)](https://github.com/kachkaev/aws-iot-button-logger-to-git/actions?query=workflow%3AChecks) | ||
[![Known vulnerabilities](https://img.shields.io/snyk/vulnerabilities/github/kachkaev/aws-iot-button-logger-to-git.svg)](https://snyk.io/test/github/kachkaev/aws-iot-button-logger-to-git?targetFile=package.json) | ||
[![Code style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io/) | ||
|
||
|
@@ -118,7 +117,7 @@ See [src/config.ts](src/config.ts) for the list of options. | |
## ≥ 2.3 | ||
node --version | ||
## ≥ v10.18.0 | ||
## ≥ v10.21.0 | ||
yarn --version | ||
## ≥ 1.21.1 | ||
|
@@ -180,4 +179,4 @@ GIT_REPO_URI=https://username:[email protected]/example/my-data.git \ | |
yarn test | ||
``` | ||
|
||
The repository is [continuously checked via Azure Pipelines](https://dev.azure.com/kachkaev/github-pipelines/_build?definitionId=1). | ||
The repository is [continuously checked via GitHub Actions](https://github.com/kachkaev/aws-iot-button-logger-to-git/actions). |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
azure-pipelines/steps/report-test-results-and-coverage.yml
This file was deleted.
Oops, something went wrong.