File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : publish
2+ on :
3+ push :
4+ tags :
5+ - ' v[0-9]+.[0-9]+.[0-9]+*'
6+ jobs :
7+ types :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : actions/setup-node@v1
12+ with :
13+ node-version : 16
14+ registry-url : ' https://registry.npmjs.org'
15+ - run : npm install --save-dev
16+ - run : npm publish --workspace packages/google-analytics-embed-types
17+ env :
18+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
19+ reactlib :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@v2
23+ - uses : actions/setup-node@v1
24+ with :
25+ node-version : 16
26+ registry-url : ' https://registry.npmjs.org'
27+ - run : npm install --save-dev
28+ - run : npm run reactlib:build:prod
29+ - run : npm publish --workspace packages/google-analytics-embed-react
30+ env :
31+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments