Skip to content

Upgrade esbuild (#680) #478

Upgrade esbuild (#680)

Upgrade esbuild (#680) #478

Workflow file for this run

name: Release
on:
push:
branches:
- main
- 'release/**'
permissions:
contents: write
pull-requests: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: '20'
registry-url: https://registry.npmjs.org/
cache: 'yarn'
- name: Install Dependencies
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn changeset publish
env:
GITHUB_TOKEN: ${{ secrets.MOSAIC_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}