Skip to content

Commit

Permalink
simple validate
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed May 16, 2024
1 parent d52f952 commit 1950b6d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 223 deletions.
6 changes: 0 additions & 6 deletions .circleci/.spectral.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .circleci/build-openapi.sh

This file was deleted.

111 changes: 0 additions & 111 deletions .circleci/config.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .circleci/publish.js

This file was deleted.

57 changes: 1 addition & 56 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,59 +26,4 @@ jobs:
run: npm ci

- name: Validate
run: npm run check

build:
needs: validate
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16.14

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci

- name: Build
run: npm run build-openapi

publish:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16.14

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci

- name: Build
run: npm run publish-openapi

# Add steps for publishing here
run: npm run check

0 comments on commit 1950b6d

Please sign in to comment.