Skip to content

Commit d60ee92

Browse files
committed
chore(ci): doh... try again
Signed-off-by: Charlike Mike Reagent <[email protected]>
1 parent cc92cac commit d60ee92

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/nodejs.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010

1111
jobs:
1212
test:
13-
if: "!contains(github.event.commits.*.message, '[skip ci]')"
1413
env:
1514
CI: true
1615
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
@@ -21,7 +20,9 @@ jobs:
2120
runs-on: ${{ matrix.os }}
2221
steps:
2322
- uses: actions/checkout@v1
23+
if: contains(toJson(github.event.commits), '[skip ci]') == false
2424
- uses: actions/cache@v1
25+
if: contains(toJson(github.event.commits), '[skip ci]') == false
2526
id: nodejs-cache
2627
name: Cache node modules
2728
with:
@@ -37,16 +38,19 @@ jobs:
3738
# node: ${{ matrix.node }}
3839

3940
- name: Dump GitHub context
41+
if: contains(toJson(github.event.commits), '[skip ci]') == false
4042
env:
4143
GITHUB_CONTEXT: ${{ toJson(github) }}
4244
run: echo "$GITHUB_CONTEXT"
4345
- name: Installing dependencies
44-
if: steps.nodejs-cache.outputs.cache-hit != 'true'
46+
if: contains(toJson(github.event.commits), '[skip ci]') == false && steps.nodejs-cache.outputs.cache-hit != 'true'
4547
run: yarn --frozen-lockfile
4648
- name: Linting & Format codebase with ESLint & Prettier
49+
if: contains(toJson(github.event.commits), '[skip ci]') == false
4750
run: yarn lint && yarn fmt
4851
- name: Testing
52+
if: contains(toJson(github.event.commits), '[skip ci]') == false
4953
run: yarn test:ci
5054
- name: Sending test coverage to CodeCov
51-
if: matrix.os == 'ubuntu-latest' && matrix.node == '12.x'
55+
if: contains(toJson(github.event.commits), '[skip ci]') == false && matrix.os == 'ubuntu-latest' && matrix.node == '12.x'
5256
run: echo ${{ matrix.node }} && bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)