-
Notifications
You must be signed in to change notification settings - Fork 6
57 lines (56 loc) · 1.76 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Release
on:
push:
branches:
- main
paths:
- "packages/**/package.json"
workflow_dispatch:
jobs:
test:
uses: ./.github/workflows/test.yml
secrets: inherit
release:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-test-env
- name: Build all packages
run: pnpm build
- name: Publish @gadgetinc/api-client-core
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/api-client-core/package.json
access: public
- name: Publish @gadgetinc/react
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/react/package.json
access: public
- name: Publish @gadgetinc/react-shopify-app-bridge
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/react-shopify-app-bridge/package.json
access: public
- name: Publish tiny-graphql-query-compiler
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/tiny-graphql-query-compiler/package.json
access: public
- name: Publish @gadgetinc/shopify-extensions
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/shopify-extensions/package.json
access: public
- name: Publish @gadgetinc/react-bigcommerce
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/react-bigcommerce/package.json
access: public