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 : Preview release
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ pull_request :
7+
8+ permissions :
9+ contents : read
10+
11+ env :
12+ NX_BRANCH : ${{ github.event.number || github.ref_name }}
13+ NX_CLOUD_ACCESS_TOKEN : ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
14+
15+ jobs :
16+ preview :
17+ name : Publish preview packages (pkg.pr.new)
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v6
22+ - uses : actions/setup-node@v6
23+ with :
24+ node-version : lts/*
25+ cache : npm
26+ - name : npm install
27+ run : npm install --force
28+ - name : Build packages
29+ run : npx nx run-many -t build -p angular,zone-js
30+ - name : Publish preview packages
31+ run : npx pkg-pr-new publish --compact ./dist/packages/angular ./dist/packages/zone-js
Original file line number Diff line number Diff line change 22 "name" : " @nativescript/zone-js" ,
33 "version" : " 4.0.0" ,
44 "description" : " NativeScript Zone.js" ,
5+ "repository" : {
6+ "type" : " git" ,
7+ "url" : " git+https://github.com/NativeScript/angular.git"
8+ },
59 "main" : " dist/index.js"
610}
You can’t perform that action at this time.
0 commit comments