Skip to content

Merge branch 'main' of https://github.com/aurora-is-near/aurora-staki… #18

Merge branch 'main' of https://github.com/aurora-is-near/aurora-staki…

Merge branch 'main' of https://github.com/aurora-is-near/aurora-staki… #18

Workflow file for this run

name: Release
on:
push:
branches:
- main
- canary/*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
uses: ./.github/workflows/test.yml
secrets: inherit
release:
runs-on: ubuntu-latest
needs: test
permissions:
contents: write
issues: write
pull-requests: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: package.json
- name: Setup NPM token
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
- name: Install
run: yarn install --frozen-lockfile --non-interactive
- name: Build
run: yarn build
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_SEMANTIC_RELEASE_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}