File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 55    branches :
66      - stable 
77
8+ permissions :
9+   contents : write 
10+   id-token : write 
11+   packages : write 
12+ 
813jobs :
914  build :
1015    name : Build, Test, and Deploy 
1116    runs-on : ubuntu-latest 
1217    timeout-minutes : 30 
1318    steps :
14-       - run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc 
15-       - uses : actions/setup-node@v3 
16-         with :
17-           node-version : 16.x 
1819      - uses : actions/checkout@v3 
1920        with :
2021          fetch-depth : 0 
21-       - name : Restore Dependency Cache 
22-         uses : actions/cache@v3 
22+       - uses : actions/setup-node@v3 
2323        with :
24-           path : ~/.npm 
25-           key : ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }} 
24+           node-version : 16 
25+           registry-url : https://registry.npmjs.org/ 
26+           cache : npm 
27+           cache-dependency-path : ' **/package.json' 
2628      - run : npm install 
2729      - run : npm run bootstrap 
28-       - run : npm run publish:ci -- --yes  
30+       - run : npm run publish:ci 
2931        env :
30-           GH_TOKEN : ${{ secrets.GH_TOKEN }} 
3132          GIT_AUTHOR_NAME : Ionitron 
3233          GIT_AUTHOR_EMAIL : hi@ionicframework.com 
3334          GIT_COMMITTER_NAME : Ionitron 
3435          GIT_COMMITTER_EMAIL : hi@ionicframework.com 
36+           NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }} 
3537      - name : Sleep while npm takes its time 
3638        run : sleep 20 
3739      - name : GitHub Container Registry Login 
Original file line number Diff line number Diff line change 1414    "docs" : " node packages/cli-scripts/bin/ionic-cli-scripts docs" 
1515    "docs:watch" : " chokidar 'packages/cli-scripts/dist/docs/**/*.js' -c 'npm run docs'" 
1616    "publish:testing" : " lerna publish prerelease --preid=testing --exact --no-git-tag-version --no-push --dist-tag=testing" 
17-     "publish:ci" : " lerna publish  -m 'chore(release): publish [skip ci]' --exact --conventional-commits --no-verify-access " 
17+     "publish:ci" : " lerna version  -m 'chore(release): publish [skip ci]' --exact --conventional-commits --yes && lerna exec --since HEAD~ -- npm publish --provenance " 
1818  },
1919  "devDependencies" : {
2020    "chokidar-cli" : " ^2.0.0" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments