Skip to content

chore(release): 4.21.33 #662

chore(release): 4.21.33

chore(release): 4.21.33 #662

Workflow file for this run

name: Build source code and send to Capgo
on:
push:
tags:
- "*"
jobs:
deploy:
runs-on: ubuntu-latest
name: "Build code and release"
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup bun
uses: oven-sh/setup-bun@v2.0.1
with:
bun-version: latest
- name: Install dependencies
id: install_code
run: bun install --frozen-lockfile
- name: Lint
id: lint_code
run: bun lint
- name: Build
id: build_code
run: bun run build
# - name: Wait for POSIX path check to succeed
# uses: lewagon/wait-on-check-action@v1.3.4
# with:
# ref: ${{ github.ref }}
# check-name: 'Check POSIX Paths in Zip File'
# repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
# wait-interval: 10
# - name: Wait for tests to succeed
# uses: lewagon/wait-on-check-action@v1.3.4
# with:
# ref: ${{ github.ref }}
# check-name: 'Run tests'
# repo-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
# wait-interval: 10
- uses: JS-DevTools/npm-publish@v3
if: ${{ !contains(github.ref, '-alpha.') }}
with:
token: ${{ secrets.NPM_TOKEN }}
provenance: true
- uses: JS-DevTools/npm-publish@v3
if: ${{ contains(github.ref, '-alpha.') }}
with:
token: ${{ secrets.NPM_TOKEN }}
tag: next
provenance: true