diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 606e71eac..46a2972df 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,9 +2,6 @@ name: Linter on: pull_request: - branches: - - master - - release/* push: branches: - master diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index bbb3fdda6..8cfc59d5a 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -2,21 +2,11 @@ name: Publish new release on NPM on: release: - types: [published] + types: + - published jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 12 - - run: npm ci - - run: npm test - publish-npm: - needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -25,6 +15,7 @@ jobs: node-version: 12 registry-url: https://registry.npmjs.org/ - run: npm ci + - run: npm test - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 72c35dd37..5266b1493 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,9 +2,6 @@ name: Tests on: pull_request: - branches: - - master - - release/* push: branches: - master @@ -23,6 +20,7 @@ jobs: node: - "10" - "12" + - "14" steps: - name: "Checkout"