Skip to content

Merge pull request #110 from aurora-is-near/fix-correct-rbac-endpoint #123

Merge pull request #110 from aurora-is-near/fix-correct-rbac-endpoint

Merge pull request #110 from aurora-is-near/fix-correct-rbac-endpoint #123

Workflow file for this run

name: Changeset
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
create-release-pr-or-publish:
name: Create Changeset PR or Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: yarn --immutable
- name: Creating .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build type declarations
run: yarn tsc
- name: Build packages
run: yarn build
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
version: yarn version
publish: yarn release
title: Version Packages - plugins
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}