AXON-842: upgrade @atlaskit/datetime-picker to 17.0.13 #2838
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: Build | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: | | |
| npm ci --no-audit | |
| - name: Run vulnerability audit | |
| run: npm audit | |
| - name: Run linter | |
| run: npm run lint | |
| tests: | |
| needs: [lint] | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| test-type: [unit, e2e] | |
| env: | |
| ATLASCODE_FX3_API_KEY: ${{ secrets.ATLASCODE_FX3_API_KEY }} | |
| ATLASCODE_FX3_ENVIRONMENT: ${{ vars.ATLASCODE_FX3_ENVIRONMENT }} | |
| ATLASCODE_FX3_TARGET_APP: ${{ vars.ATLASCODE_FX3_TARGET_APP }} | |
| ATLASCODE_FX3_TIMEOUT: ${{ vars.ATLASCODE_FX3_TIMEOUT }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci --no-audit | |
| - name: Build and package the extension | |
| if: matrix.test-type == 'e2e' | |
| run: npm run extension:package | |
| - name: Generate SSL certs for E2E test | |
| if: matrix.test-type == 'e2e' | |
| run: npm run test:e2e:sslcerts | |
| - name: Fetch E2E image | |
| if: matrix.test-type == 'e2e' | |
| run: | | |
| docker pull ghcr.io/atlassian/atlascode-e2e:latest | |
| docker tag ghcr.io/atlassian/atlascode-e2e:latest atlascode-e2e | |
| - name: Run unit tests | |
| if: matrix.test-type == 'unit' | |
| run: npm run test | |
| - name: Run E2E tests | |
| if: matrix.test-type == 'e2e' | |
| run: npm run test:e2e:docker | |
| - name: Upload E2E artifacts | |
| if: matrix.test-type == 'e2e' && failure() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: e2e-test-results | |
| path: ./test-results | |
| retention-days: 1 | |
| if-no-files-found: ignore |