File tree Expand file tree Collapse file tree 3 files changed +25
-27
lines changed Expand file tree Collapse file tree 3 files changed +25
-27
lines changed Original file line number Diff line number Diff line change @@ -12,24 +12,23 @@ jobs:
1212 deploy :
1313 runs-on : ubuntu-22.04
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v4
1616
17- - name : Setup Node
18- uses : actions /setup-node@v3
17+ - name : Setup Bun
18+ uses : oven-sh /setup-bun@v2
1919 with :
20- node-version : ' 18.x'
21- cache : ' yarn'
20+ bun-version-file : ' package.json'
2221
23- - run : yarn install
24- - run : yarn test
25- - name : Build # builds the docs site with --prefix-paths for gh-pages
26- run : |
27- yarn predeploy:prefix
22+ - run : bun install --frozen-lockfile
23+ - run : bun lint
24+
25+ - name : Build docs
26+ run : bun run docs:build
2827 env :
2928 GATSBY_SITE_RECAPTCHA_KEY : ${{ secrets.GATSBY_SITE_RECAPTCHA_KEY }}
3029
3130 - name : Deploy
32- uses : peaceiris/actions-gh-pages@v3
31+ uses : peaceiris/actions-gh-pages@v4
3332 with :
3433 github_token : ${{ secrets.GITHUB_TOKEN }}
35- publish_dir : ./www/public
34+ publish_dir : ./packages/docs/dist
Original file line number Diff line number Diff line change 88 publish-gpr :
99 runs-on : ubuntu-22.04
1010 steps :
11- - uses : actions/checkout@v3
11+ - uses : actions/checkout@v4
1212
13- - name : Setup Node
14- uses : actions /setup-node@v3
13+ - name : Setup Bun
14+ uses : oven-sh /setup-bun@v2
1515 with :
16- node -version : ' 18.x '
16+ bun -version-file : ' package.json '
1717 registry-url : ' https://npm.pkg.github.com'
1818 scope : ' @Pyrax'
19- cache : ' yarn'
2019
21- - run : yarn install
20+ - run : bun install --frozen-lockfile
21+
2222 - name : Autoscope package.json
2323 uses : khaazz/action-autoscope@master
2424
25- - run : yarn publish --registry=https://npm.pkg.github.com/Pyrax
25+ - run : bun publish --registry=https://npm.pkg.github.com/Pyrax --cwd ./packages/react-netlify-forms
2626 env :
2727 NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -12,20 +12,19 @@ jobs:
1212 semantic-release :
1313 runs-on : ubuntu-22.04
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v4
1616
17- - name : Setup Node
18- uses : actions /setup-node@v3
17+ - name : Setup Bun
18+ uses : oven-sh /setup-bun@v2
1919 with :
20- node-version : ' 18.x'
21- cache : ' yarn'
20+ bun-version-file : ' package.json'
2221
23- - run : yarn install
22+ - run : bun install --frozen-lockfile
2423 - name : Check tests before release
25- run : yarn test
24+ run : bun lint
2625
2726 - name : Semantic Release
28- uses : cycjimmy/semantic-release-action@v3
27+ uses : cycjimmy/semantic-release-action@v4
2928 with :
3029 extra_plugins : |
3130 @semantic-release/git
You can’t perform that action at this time.
0 commit comments