-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷 chore: Add back snapshot release (#453)
## Description Adds back snapshot release to publish @main every merge to develop ## Testing Explain the quality checks that have been done on the code changes ## Additional Information - [ ] I read the [contributing docs](../docs/contributing.md) (if this is your first contribution) Your ENS/address: Co-authored-by: Will Cory <[email protected]>
- Loading branch information
1 parent
1124e34
commit c23302a
Showing
3 changed files
with
27 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
"@evmts/bundler": patch | ||
"@evmts/esbuild-plugin": patch | ||
"@evmts/rollup-plugin": patch | ||
"@evmts/rspack-plugin": patch | ||
"@evmts/vite-plugin": patch | ||
"@evmts/webpack-plugin": patch | ||
"@evmts/cli": patch | ||
"@evmts/config": patch | ||
"@evmts/core": patch | ||
"@evmts/ethers": patch | ||
"svelte-ethers": patch | ||
"@evmts/ts-plugin": patch | ||
"@evmts/tsconfig": patch | ||
--- | ||
|
||
Started publishing every commit to main so all EVMts changes can be used early. To use the latest main branch release install with `@main` tag. e.g. `npm install @evmts/ts-plugin@main` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
name: Prerelease 🚀 | ||
name: Snapshot 🚀 | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
jobs: | ||
prerelease: | ||
name: Changests Prerelease | ||
name: Changests Snapshot | ||
if: github.repository == 'evmts/evmts-monorepo' | ||
runs-on: ubuntu-latest | ||
# Permissions necessary for Changesets to push a new branch and open PRs | ||
|
@@ -37,23 +41,11 @@ jobs: | |
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
- name: Check for pre.json file existence | ||
id: check_files | ||
uses: andstor/[email protected] | ||
with: | ||
files: ".changeset/pre.json" | ||
|
||
- name: Enter next prerelease mode | ||
# If .changeset/pre.json does not exist and we did not recently exit | ||
# prerelease mode, enter prerelease mode with tag next | ||
if: steps.check_files.outputs.files_exists == 'false' && !contains(github.event.head_commit.message, 'Exit prerelease') | ||
run: npx changeset pre enter next | ||
|
||
- name: Create next version PR or publish 🚀 | ||
uses: changesets/action@v1 | ||
- name: Publish snapshots | ||
uses: seek-oss/changesets-snapshot@v0 | ||
with: | ||
version: pnpm release:version | ||
publish: pnpm release:publish | ||
pre-publish: pnpm nx run-many --targets=build,build:dist --skip-nx-cache | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
c23302a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
evmts-docs – ./
evmts-docs-git-main-evmts.vercel.app
evmts-docs-evmts.vercel.app
evmts.dev