Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Dec 10, 2024
1 parent a5fbc27 commit 31dc7b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 24 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/diracx-web-components-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,6 @@ on:
- release-please-**

jobs:
# Make sure the library package can be built
build-library-package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm --prefix packages/diracx-web-components ci

- name: Build diracx-web-components
run: npm run build:diracx-web-components

test:
runs-on: ubuntu-latest
if: github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web'
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/gubbins-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ jobs:
runs-on: ubuntu-latest
# Run the tests only if It's a PR or if the repo is DIRACGrid/diracx-web
if: github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web'
defaults:
run:
working-directory: packages/extensions
steps:
# Checkout the new source code
- uses: actions/checkout@v4
Expand All @@ -33,9 +30,9 @@ jobs:
run: npm ci

- name: Check code-quality rules
run: npm run lint
run: npm --prefix packages/extensions run lint
- name: Check typescript type validity
run: npm run ts-lint
run: npm --prefix packages/extensions run ts-lint

# ============================================================================#
# WARNING: In your CI/CD pipeline, you should not copy paste the following job#
Expand All @@ -52,11 +49,12 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm --prefix packages/diracx-web-components ci
working-directory: packages/diracx-web-components
run: npm ci

- name: Build diracx-web-components
run: |
npm run --prefix packages/diracx-web-components build
npm run build:diracx-web-components
npm pack --prefix packages/diracx-web-components
- name: Where the magic happens (Move extensions to a temporary directory)
Expand Down

0 comments on commit 31dc7b4

Please sign in to comment.