File tree Expand file tree Collapse file tree 2 files changed +31
-8
lines changed
Expand file tree Collapse file tree 2 files changed +31
-8
lines changed Original file line number Diff line number Diff line change 2727 uses : actions/setup-node@v3
2828
2929 - name : Compile
30- run : yarn && yarn test
30+ run : yarn && yarn test
31+
32+ publish :
33+ needs :
34+ - compile
35+ - test
36+ if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
37+ runs-on : ubuntu-latest
38+
39+ steps :
40+ - name : Checkout repo
41+ uses : actions/checkout@v4
42+
43+ - name : Set up node
44+ uses : actions/setup-node@v3
45+ - name : Install dependencies
46+ run : yarn install --frozen-lockfile --non-interactive
47+
48+ - name : Build
49+ run : yarn build
50+ - name : Publish
51+ run : yarn publish --access public --no-git-tag-version --tag latest
52+ env :
53+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " @pipedream/sdk" ,
3- "version" : " 1.7.1 " ,
3+ "version" : " 2.0.0 " ,
44 "private" : false ,
55 "repository" : " github:PipedreamHQ/pipedream-sdk-typescript" ,
66 "type" : " commonjs" ,
3939 "test:wire" : " jest --selectProjects wire"
4040 },
4141 "devDependencies" : {
42- "webpack" : " ^5.97.1" ,
43- "ts-loader" : " ^9.5.1" ,
44- "jest" : " ^29.7.0" ,
4542 "@jest/globals" : " ^29.7.0" ,
4643 "@types/jest" : " ^29.5.14" ,
47- "ts-jest" : " ^29.3.4" ,
44+ "@types/node" : " ^18.19.70" ,
45+ "jest" : " ^29.7.0" ,
4846 "jest-environment-jsdom" : " ^29.7.0" ,
4947 "msw" : " ^2.8.4" ,
50- "@types/node" : " ^18.19.70" ,
5148 "prettier" : " ^3.4.2" ,
52- "typescript" : " ~5.7.2"
49+ "ts-jest" : " ^29.3.4" ,
50+ "ts-loader" : " ^9.5.1" ,
51+ "typescript" : " ~5.7.2" ,
52+ "webpack" : " ^5.97.1"
5353 },
5454 "browser" : {
5555 "fs" : false ,
You can’t perform that action at this time.
0 commit comments