Skip to content

Commit

Permalink
Merge pull request #38 from naman03malhotra/workflow-file-changes
Browse files Browse the repository at this point in the history
Workflow file changes and version bump
  • Loading branch information
naman03malhotra authored Feb 18, 2021
2 parents 37cd748 + 89f8908 commit 13736b3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: CD

on:
push:
branches:
- master
tags:
- "*"

jobs:
publish:
Expand All @@ -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
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 13736b3

Please sign in to comment.