Skip to content

🐛 fix(core): fix github path in package.json (#496) #52

🐛 fix(core): fix github path in package.json (#496)

🐛 fix(core): fix github path in package.json (#496) #52

Workflow file for this run

name: Snapshot 🚀
on:
workflow_dispatch:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
prerelease:
name: Changests Snapshot
if: github.repository == 'evmts/evmts-monorepo'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout Repo
with:
fetch-depth: 0
submodules: recursive
- name: "Setup"
uses: ./.github/actions/setup
- name: Build
run: bun run build
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
- name: Set deployment token
run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Publish snapshots
uses: seek-oss/changesets-snapshot@v0
with:
pre-publish: bun nx run-many --targets=build,build:dist --skip-nx-cache
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}