diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 9860f58..c6822c0 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -2,8 +2,8 @@ name: CD on: push: - branches: - - master + tags: + - "*" jobs: publish: @@ -13,13 +13,13 @@ jobs: strategy: fail-fast: false matrix: - node: [10] + node: [14] os: [ubuntu-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Use node ${{ matrix.node }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5f02929..1d1d59f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,31 +2,27 @@ name: CI on: push: - branches-ignore: + branches: - master pull_request: - branches-ignore: - - master - - pull_request_target: jobs: test: - name: Test on node ${{ matrix.node }} and ${{ matrix.os }} + name: Node ${{ matrix.node }} and ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - node: [10, 12, 15] + node: [14] os: [ubuntu-latest] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Use node ${{ matrix.node }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} registry-url: https://registry.npmjs.org diff --git a/package.json b/package.json index 1c2a9bd..d7557e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "match-rules", - "version": "1.3.6", + "version": "1.3.7", "description": "A tiny (1kB GZipped) zero dependency JavaScript utility that lets you write your conditional business logic in a declarative way (React like).", "main": "lib/match_rules.js", "repository": {