File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed
Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ push :
4+ branches : [main]
5+
6+ concurrency :
7+ group : ${{ github.workflow }}-${{ github.ref }}
8+
9+ permissions : {}
10+
11+ jobs :
12+ release :
13+ if : github.repository_owner == 'Effect-Ts'
14+ name : Release
15+ runs-on : ubuntu-latest
16+ timeout-minutes : 30
17+ permissions :
18+ contents : write
19+ id-token : write
20+ pull-requests : write
21+ steps :
22+ - uses : actions/checkout@v4
23+ - name : Install dependencies
24+ uses : ./.github/actions/setup
25+ - name : Create Release Pull Request or Publish
26+ uses : changesets/action@v1
27+ with :
28+ version : pnpm changeset-version
29+ publish : pnpm changeset-publish
30+ env :
31+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1212 "build" : " pnpm build-esm && pnpm build-annotate && pnpm build-cjs && build-utils pack-v2" ,
1313 "build-esm" : " tsc -b tsconfig.src.json" ,
1414 "build-cjs" : " babel build/esm --plugins @babel/transform-export-namespace-from --plugins @babel/transform-modules-commonjs --out-dir build/cjs --source-maps" ,
15- "build-annotate" : " babel build/esm --plugins annotate-pure-calls --out-dir build/esm --source-maps"
15+ "build-annotate" : " babel build/esm --plugins annotate-pure-calls --out-dir build/esm --source-maps" ,
16+ "changeset-version" : " changeset version" ,
17+ "changeset-publish" : " pnpm lint-fix && pnpm build && TEST_DIST= pnpm vitest && changeset publish"
1618 },
1719 "keywords" : [
1820 " effect" ,
You can’t perform that action at this time.
0 commit comments