Skip to content

chore: update aurora lib #137

chore: update aurora lib

chore: update aurora lib #137

Workflow file for this run

name: Pre-release
on:
pull_request:
types: [closed]
branches:
- main
permissions:
contents: write # for checkout and tag
pull-requests: write # for comments
packages: write # for publish
jobs:
publish:
if: github.event.pull_request.merged == true
name: Pre-release
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: "Setup do nodejs"
uses: actions/setup-node@v2
with:
node-version: 20
cache: "yarn"
- name: Git Identity
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup npm env
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
npm whoami
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install
run: yarn install
- name: Build libs
run: yarn build:libs
- name: Bump versions and publish packages
run: |
yarn publish:canary
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}