File tree Expand file tree Collapse file tree 4 files changed +51
-41
lines changed Expand file tree Collapse file tree 4 files changed +51
-41
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @actcoding/eslint-plugin-import-newlines " : minor
3+ " @actcoding/eslint-config " : patch
4+ ---
5+
6+ move to TypeScript and Turborepo
Original file line number Diff line number Diff line change 1+ name : Changesets
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ concurrency : ${{ github.workflow }}-${{ github.ref }}
9+
10+ jobs :
11+ changesets :
12+ name : Process Changesets
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout Repo
16+ uses : actions/checkout@v4
17+
18+ - uses : oven-sh/setup-bun@v2
19+ with :
20+ bun-version : latest
21+
22+ - uses : actions/cache@v4
23+ with :
24+ path : node_modules
25+ key : ${{ runner.os }}-${{ hashFiles('bun.lockb') }}
26+
27+ - name : Install dependencies
28+ run : bun install --frozen-lockfile
29+
30+ - name : Login to npm
31+ run : |
32+ printf '%s\n\n%s\n' "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" "`cat .npmrc`" > .npmrc
33+
34+ - name : Create Release Pull Request or Publish to npm
35+ id : changesets
36+ uses : changesets/action@v1
37+ with :
38+ # This expects you to have a script called release which does a build for your packages and calls changeset publish
39+ publish : bun run release
40+ env :
41+ GITHUB_TOKEN : ${{ github.token }}
42+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 "workspaces" : [
88 " packages/*"
99 ],
10+ "scripts" : {
11+ "release" : " turbo build && changeset publish"
12+ },
1013 "devDependencies" : {
1114 "@changesets/cli" : " ^2.27.10" ,
1215 "@eslint/config-inspector" : " ^0.5.1" ,
You can’t perform that action at this time.
0 commit comments