File tree Expand file tree Collapse file tree 3 files changed +18
-70
lines changed Expand file tree Collapse file tree 3 files changed +18
-70
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Bump
1
+ name : rsnd
2
2
3
3
on :
4
4
push :
5
5
branches :
6
6
- main
7
+ - canary
7
8
8
9
concurrency : ${{ github.workflow }}-${{ github.ref }}
9
10
10
11
jobs :
11
12
release :
12
- name : Bump
13
- runs-on : ubuntu-latest
13
+ name : version
14
+ runs-on : buildjet-4vcpu-ubuntu-2204
15
+ permissions :
16
+ contents : write
17
+ pull-requests : write
18
+ container :
19
+ image : node:22
14
20
steps :
15
21
- name : Checkout Repo
16
22
uses : actions/checkout@v4
17
23
18
- - name : Setup Node.js 22
19
- uses : actions/setup-node@v4
20
- with :
21
- node-version : 22
22
-
23
24
- name : Enable Corepack
24
25
id : pnpm-setup
25
26
run : |
26
27
corepack enable
27
28
corepack prepare [email protected] --activate
28
29
pnpm config set script-shell "/usr/bin/bash"
29
- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
30
30
31
31
- name : pnpm Cache
32
32
uses : buildjet/cache@v4
33
33
with :
34
- path : ${{ steps.pnpm-setup.outputs.pnpm_cache_dir }}
35
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
34
+ path : |
35
+ ~/.pnpm-store
36
+ node_modules
37
+ */*/node_modules
38
+ key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
36
39
restore-keys : |
37
- ${{ runner.os }}-pnpm-store-
40
+ ${{ runner.os }}-pnpm-
38
41
39
42
- name : Install packages
43
+ if : steps.pnpm-cache.outputs.cache-hit != 'true'
40
44
run : pnpm install --frozen-lockfile
41
45
42
- - name : Exit prerelease mode
43
- continue-on-error : true
44
- run : pnpm canary:exit
45
-
46
46
- name : Create Release Pull Request
47
47
uses : changesets/action@v1
48
48
with :
49
49
version : pnpm run version
50
- title : " chore: Bump for release "
50
+ title : " chore(root): Version packages "
51
51
env :
52
52
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 8
8
"release" : " turbo run build --filter=./packages/* --filter=!react-email-starter && pnpm changeset publish" ,
9
9
"canary:enter" : " changeset pre enter canary" ,
10
10
"canary:exit" : " changeset pre exit" ,
11
- "version" : " changeset version && pnpm install --no-frozen-lockfile" ,
11
+ "version" : " changeset version && pnpm install --no-frozen-lockfile && pnpm lint:fix " ,
12
12
"lint" : " biome check" ,
13
13
"lint:fix" : " biome check --write ." ,
14
14
"test" : " turbo run test" ,
You can’t perform that action at this time.
0 commit comments