Add new mode - Moped #144
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
env: | |
PRIVATE_NPM_TOKEN: ${{ secrets.PRIVATE_NPM_TOKEN }} | |
jobs: | |
test-schema-package-definitions: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
name: test schema package definitions | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: | | |
yarn --cwd maasglobal-schema-package | |
- name: Run Tests | |
run: | | |
yarn --cwd maasglobal-schema-package ci | |
test-ajv-validator: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
name: test ajv validator | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: | | |
yarn --cwd maasglobal-json-schema-validator | |
yarn --cwd maas-schemas | |
yarn --cwd maas-schemas convert-ajv | |
yarn --cwd maas-schemas build | |
- name: Run Tests | |
run: | | |
yarn --cwd maasglobal-json-schema-validator ci | |
test-ajv-generator: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
name: test ajv generator | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: | | |
yarn --cwd maasglobal-schema-generator-ajv | |
- name: Run Tests | |
run: | | |
yarn --cwd maasglobal-schema-generator-ajv ci | |
test-io-ts-generator: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
name: test io-ts generator | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: | | |
yarn --cwd maasglobal-schema-generator-io-ts | |
- name: Run Tests | |
run: | | |
yarn --cwd maasglobal-schema-generator-io-ts ci | |
test-reference-schemas: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
name: test reference schemas | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: | | |
yarn --cwd maasglobal-reference-schemas | |
- name: Run Tests | |
run: | | |
yarn --cwd maasglobal-reference-schemas ci | |
test-maas-schemas: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
name: test maas schemas | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "14" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install Dependencies | |
run: | | |
yarn --cwd maas-schemas | |
- name: Run Tests | |
run: | | |
yarn --cwd maas-schemas ci |