Skip to content

Commit

Permalink
chore: add dummy for react components ci skip
Browse files Browse the repository at this point in the history
  • Loading branch information
christjt committed Jun 27, 2023
1 parent 1dc7003 commit b8de4cc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-skip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- "viewer/**"
- "documentation/**"
- "examples/**"
- ".github/workflows/ci.yml"
types:
- opened
- synchronize
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- "viewer/**"
- "documentation/**"
- "examples/**"
- ".github/workflows/ci.yml"
types:
- opened
- synchronize
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/react-components-ci-skip.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: React Components CI

on:
pull_request:
paths-ignore:
- "react-components/**"
- ".github/workflows/react-components-ci.yml"
branches:
- "**"

jobs:
react-components-ci:
runs-on: ubuntu-latest
steps:
- run: 'echo "Skip due to no changes in react-components"'
11 changes: 2 additions & 9 deletions .github/workflows/react-components-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,18 @@ on:
pull_request:
paths:
- "react-components/**"
- ".github/workflows/react-components-ci.yml"
branches:
- "**"

jobs:
install-dependencies:
react-components-ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: "https://registry.npmjs.org"
always-auth: true
cache: "yarn"
cache-dependency-path: "react-components/yarn.lock"

- name: Setup Cognite CICD Yarn
working-directory: react-components
run: |
Expand Down

0 comments on commit b8de4cc

Please sign in to comment.