diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..68ea58d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: CI Checks + +on: + push: + branches: + - main + +jobs: + build: + strategy: + matrix: + node-version: [16] + os: [ubuntu-latest] + fail-fast: false + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v3 + - name: Setup Node ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm run test:report \ No newline at end of file diff --git a/.github/workflows/publish-gha.yml b/.github/workflows/publish-gha.yml index 2eeaeae..e88b1d3 100644 --- a/.github/workflows/publish-gha.yml +++ b/.github/workflows/publish-gha.yml @@ -1,7 +1,7 @@ ## # Publish new action tag(s) for downstream consumption ## -name: Publish +name: Publish GitHub Action # Manual or automatic release on: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 18723db..542be1f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish +name: Publish NPM Package on: workflow_dispatch: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4d482ef..98ec53d 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -15,9 +15,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup Node ${{ matrix.node-version }} uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - run: npm ci \ No newline at end of file + - run: npm ci + - run: npm test \ No newline at end of file diff --git a/README.md b/README.md index e69de29..6ce687b 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,73 @@ +
+
+
+
+