diff --git a/.github/workflows/health_check.yml b/.github/workflows/health_check.yml index b4b6999..21cf3e7 100644 --- a/.github/workflows/health_check.yml +++ b/.github/workflows/health_check.yml @@ -8,7 +8,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ['10', '12', '14'] + node: ['10','12','14','16'] + max-parallel: 1 name: Node ${{ matrix.node }} Test steps: - name: Check out code @@ -33,6 +34,7 @@ jobs: - name: Notify slack uses: kpritam/slack-job-status-action@v1 with: + if: ${{ failure() }} job-status: ${{ job.status }} slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }} - channel: github-actions + channel: eng-notifications diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2691b4e..f7e860e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,14 +13,18 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ + - name: Install dependencies run: npm install + - name: Build package run: npm run build + - name: Run tests env: SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }} run: npm test + - name: Publish package run: npm publish --access public env: diff --git a/.gitignore b/.gitignore index 249b33e..b2fb4f7 100644 --- a/.gitignore +++ b/.gitignore @@ -32,9 +32,10 @@ node_modules # Optional REPL history .node_repl_history -# OpenAPI Code gen artifacts -.openapi-generator/ +# Ignore openapi-generator artifacts .openapi-generator-ignore +/.openapi-generator/ +git_push.sh # OS artifacts .DS_Store