ci: bump esbuild from 0.28.0 to 0.28.1 (#2187) #1578
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: Release | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| env: | |
| WARP_PORTS: '' | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| - name: Verify | |
| env: | |
| CI: true | |
| TWITTER_KEY: ${{ secrets.TWITTER_KEY }} | |
| TWITTER_SECRET: ${{ secrets.TWITTER_SECRET }} | |
| TWITTER_TIMEOUT: ${{ secrets.TWITTER_TIMEOUT }} | |
| TWITTER_BEARER_TOKEN: ${{ secrets.TWITTER_BEARER_TOKEN }} | |
| run: | | |
| .github/scripts/ci-warp.sh run ' | |
| npm install | |
| npm run lint | |
| npx commitlint --last --verbose | |
| npm run build | |
| npm run docs:lint | |
| npm test | |
| ' | |
| - name: Notify | |
| if: failure() | |
| env: | |
| DISCORD_WEBHOOK: ${{ secrets.DISC_STATUS_WH }} | |
| with: | |
| args: | | |
| <@&1357021068446928993> | |
| <:github:1017808825765605376> warframe-status failed to verify before deploy | |
| uses: Ilshidur/action-discord@d2594079a10f1d6739ee50a2471f0ca57418b554 # 0.4.0 | |
| semantic-release: | |
| runs-on: ubuntu-latest | |
| needs: [test] | |
| outputs: | |
| new_version: ${{ steps.semantic.outputs.new_release_version }} | |
| release: ${{ steps.release.outputs.release }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: '.nvmrc' | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@06116385d9baf250c9f4dcb4858b16962ea869c3 # v4.1.0 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GH_PACKAGES_TOKEN }} | |
| - name: Semantic Release | |
| uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0 | |
| id: semantic | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
| SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | |
| SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | |
| DOCKER_REGISTRY_USER: ${{ github.repository_owner }} | |
| DOCKER_REGISTRY_PASSWORD: ${{ secrets.GH_PACKAGES_TOKEN }} | |
| with: | |
| extra_plugins: | | |
| @eclass/semantic-release-sentry-releases | |
| @codedependant/semantic-release-docker | |
| @semantic-release/git | |
| @semantic-release/exec | |
| @semantic-release/changelog | |
| - name: Read .release file | |
| id: release | |
| run: echo "release=$(cat .release)" >> $GITHUB_OUTPUT | |
| - name: Create Sentry release | |
| if: ${{ steps.release.outputs.release == 'yes' }} | |
| uses: getsentry/action-release@f71adb49d4b2aeeda98052d3de234bbb0f3e03ab # v3.6.1 | |
| env: | |
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
| SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | |
| SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | |
| with: | |
| environment: production | |
| deploy-docs: | |
| name: Deploy API docs | |
| needs: [semantic-release] | |
| if: needs.semantic-release.outputs.release == 'yes' | |
| uses: ./.github/workflows/deploy-docs.yml | |
| secrets: inherit |