Skip to content

Commit

Permalink
Update CI workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Jul 12, 2024
1 parent 2b10d04 commit b9a48bb
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/js-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ on:
paths:
- 'packages/js-sdk/**'
- '.github/workflows/js-sdk.yml'
- 'dev/**'
- '.node-version'
- '.nvmrc'
- '.prettierignore'
- '.prettierrc.cjs'
- '.yarnrc.yml'
- 'turbo.json'
- 'yarn.lock'

jobs:
typecheck:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/mls-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ on:
paths:
- 'packages/mls-client/**'
- '.github/workflows/mls-client.yml'
- 'dev/**'
- '.node-version'
- '.nvmrc'
- '.prettierignore'
- '.prettierrc.cjs'
- '.yarnrc.yml'
- 'turbo.json'
- 'yarn.lock'

jobs:
typecheck:
Expand Down
66 changes: 66 additions & 0 deletions .github/workflows/noop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: No code changes

on:
push:
branches:
- main

pull_request:
paths:
- '.changeset/**'
- '.github/**'
- '!.github/workflows/js-sdk.yml'
- '!.github/workflows/mls-client.yml'
- '.vscode/**'
- '.yarn/**'
- '*'
- '!.node-version'
- '!.nvmrc'
- '!.prettierignore'
- '!.prettierrc.cjs'
- '!.yarnrc.yml'
- '!turbo.json'
- '!yarn.lock'

jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- run: echo "Nothing to typecheck"

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- run: echo "Nothing to lint"

prettier:
name: Prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
env:
SKIP_YARN_COREPACK_CHECK: '1'
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn
- name: Format check
run: yarn prettier -c .

test:
name: Test
runs-on: ubuntu-latest
steps:
- run: echo "Nothing to test"

build:
name: Build
runs-on: ubuntu-latest
steps:
- run: echo "Nothing to build"

0 comments on commit b9a48bb

Please sign in to comment.