build(deps): update all dependencies updates (major) #1242
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
| on: | |
| - push | |
| - pull_request | |
| - workflow_call | |
| name: CI | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install dependencies | |
| uses: kubewarden/github-actions/policy-gh-action-dependencies@a1c3c24660e1a2f945efdadc6306ea3e83ddfed8 # v5.0.2 | |
| - name: Install npm dependencies in js directory | |
| run: | | |
| cd js | |
| npm install | |
| - name: Run linting | |
| run: | | |
| cd js | |
| npm run lint | |
| format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install dependencies | |
| uses: kubewarden/github-actions/policy-gh-action-dependencies@a1c3c24660e1a2f945efdadc6306ea3e83ddfed8 # v5.0.2 | |
| - name: Install npm dependencies in js directory | |
| run: | | |
| cd js | |
| npm install | |
| - name: Run formatting checks | |
| run: | | |
| cd js | |
| npm run format:check | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install dependencies | |
| uses: kubewarden/github-actions/policy-gh-action-dependencies@a1c3c24660e1a2f945efdadc6306ea3e83ddfed8 # v5.0.2 | |
| - name: Install npm dependencies in js directory | |
| run: | | |
| cd js | |
| npm install | |
| - name: Run unit tests | |
| run: make unit-tests | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install dependencies | |
| uses: kubewarden/github-actions/policy-gh-action-dependencies@a1c3c24660e1a2f945efdadc6306ea3e83ddfed8 # v5.0.2 | |
| - name: Install npm dependencies in js directory | |
| run: | | |
| cd js | |
| npm install | |
| - name: Build TS code | |
| run: | | |
| cd js | |
| npm run build |