-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release 4.0.0
- Loading branch information
Showing
45 changed files
with
6,531 additions
and
4,412 deletions.
There are no files selected for viewing
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.
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,11 @@ | ||
name: Functional Tests | ||
description: Run Functional Tests | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Run Docker Compose stack | ||
run: docker compose up -d | ||
shell: bash | ||
- name: Run tests | ||
run: npm run test:functional | ||
shell: bash |
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 |
---|---|---|
|
@@ -22,14 +22,13 @@ jobs: | |
${{ runner.os }}- | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "12" | ||
node-version: "14" | ||
- uses: ./.github/actions/lint | ||
|
||
unit-tests: | ||
name: Unit Tests | ||
runs-on: ubuntu-18.04 | ||
timeout-minutes: 30 | ||
needs: [lint] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache node modules | ||
|
@@ -45,5 +44,28 @@ jobs: | |
${{ runner.os }}- | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "12" | ||
- uses: ./.github/actions/unit-tests | ||
node-version: "14" | ||
- uses: ./.github/actions/unit-tests | ||
|
||
functional-tests: | ||
name: Functional Tests | ||
runs-on: ubuntu-18.04 | ||
timeout-minutes: 30 | ||
needs: ['unit-tests', lint] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache node modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "14" | ||
- uses: ./.github/actions/functional-tests |
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 |
---|---|---|
|
@@ -25,14 +25,13 @@ jobs: | |
${{ runner.os }}- | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "12" | ||
node-version: "14" | ||
- uses: ./.github/actions/lint | ||
|
||
unit-tests: | ||
name: Unit Tests | ||
runs-on: ubuntu-18.04 | ||
timeout-minutes: 30 | ||
needs: [lint] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache node modules | ||
|
@@ -48,5 +47,28 @@ jobs: | |
${{ runner.os }}- | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "12" | ||
node-version: "14" | ||
- uses: ./.github/actions/unit-tests | ||
|
||
functional-tests: | ||
name: Functional Tests | ||
runs-on: ubuntu-18.04 | ||
timeout-minutes: 30 | ||
needs: [unit-tests, lint] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache node modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "14" | ||
- uses: ./.github/actions/functional-tests |
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 |
---|---|---|
|
@@ -25,14 +25,13 @@ jobs: | |
${{ runner.os }}- | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "12" | ||
node-version: "14" | ||
- uses: ./.github/actions/lint | ||
|
||
unit-tests: | ||
name: Unit Tests | ||
runs-on: ubuntu-18.04 | ||
timeout-minutes: 30 | ||
needs: [lint] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache node modules | ||
|
@@ -48,13 +47,36 @@ jobs: | |
${{ runner.os }}- | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "12" | ||
node-version: "14" | ||
- uses: ./.github/actions/unit-tests | ||
|
||
functional-tests: | ||
name: Functional Tests | ||
runs-on: ubuntu-18.04 | ||
timeout-minutes: 30 | ||
needs: ['unit-tests', lint] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache node modules | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: "14" | ||
- uses: ./.github/actions/functional-tests | ||
|
||
npm-deploy: | ||
name: Publish Package to NPM.js | ||
runs-on: ubuntu-18.04 | ||
needs: [lint, unit-tests] | ||
needs: [functional-tests] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Cache node modules | ||
|
@@ -73,7 +95,7 @@ jobs: | |
${{ runner.os }}- | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
node-version: '14.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm ci | ||
- run: npm publish | ||
|
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
Oops, something went wrong.