Skip to content

chore(release): 1.2.0-beta.1 #15

chore(release): 1.2.0-beta.1

chore(release): 1.2.0-beta.1 #15

Workflow file for this run

name: "Release"
on:
push:
branches:
- beta
- main
jobs:
##
# install
##
install:
name: "Install"
runs-on: ubuntu-latest
steps:
- name: "🛎 Checkout"
uses: actions/checkout@v4
- name: "📦 Setup npm Dependencies"
uses: ./.github/actions/use-npm-dependencies
##
# release
##
release:
name: "Release"
needs: install
runs-on: ubuntu-latest
steps:
- name: "🛎 Checkout"
uses: actions/checkout@v4
- name: "📝 Create .npmrc"
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_READ_AND_WRITE_PACKAGES_TOKEN }}" >> .npmrc
echo "@jumpdefi:registry=https://registry.npmjs.org" >> .npmrc
echo "access=public" >> .npmrc
- name: "📦 Setup npm Dependencies"
uses: ./.github/actions/use-npm-dependencies
- name: "🏗️ Build"
run: npm run build
- name: "🔖 Release"
env:
# appears on the release commits
GIT_AUTHOR_NAME: jumpdefi-bot
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: jumpdefi-bot
GIT_COMMITTER_EMAIL: [email protected]
# used to push the release commit and create the tags
GITHUB_TOKEN: ${{ secrets.GH_READ_AND_WRITE_REPOS_TOKEN }}
run: npx semantic-release