Add permissions support to registerModel #100
Workflow file for this run
This file contains hidden or 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: Javascript CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| ci: | |
| name: Javascript CI | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Cache dependencies | |
| id: cached-yarn-dependencies | |
| uses: actions/cache@v3 | |
| with: | |
| path: javascript/node_modules | |
| key: 16.x-${{ runner.OS }}-build-${{ hashFiles('javascript/yarn.lock') }} | |
| - name: Set up Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '16.x' | |
| registry-url: 'https://registry.npmjs.org' | |
| - name: Install dependencies | |
| if: steps.cached-yarn-dependencies.outputs.cache-hit != 'true' | |
| run: | | |
| yarn | |
| working-directory: javascript | |
| - name: Typecheck | |
| run: | | |
| yarn test:api | |
| working-directory: javascript | |
| - name: Build | |
| run: | | |
| yarn build | |
| working-directory: javascript | |
| - name: Test | |
| run: | | |
| yarn test | |
| working-directory: javascript |