Skip to content

@real-token/aa-modal v1.0.2 #6

@real-token/aa-modal v1.0.2

@real-token/aa-modal v1.0.2 #6

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: build & publish aa-core package
on:
release:
types: [published]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@real-token'
- name: Install
working-directory: ./packages/@real-token/aa-modal
run: yarn install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }}
- name: Publish
working-directory: ./packages/@real-token/aa-modal
run: yarn publish .
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}