Update npm-publish.yml
							parent
							
								
									12b7a837c1
								
							
						
					
					
						commit
						62bb6bd5b0
					
				| 
						 | 
				
			
			@ -15,8 +15,7 @@ jobs:
 | 
			
		|||
      - uses: actions/setup-node@v1
 | 
			
		||||
        with:
 | 
			
		||||
          node-version: 12
 | 
			
		||||
      - run: npm ci
 | 
			
		||||
      - run: npm test
 | 
			
		||||
      - run: npm unit-test-mocha
 | 
			
		||||
 | 
			
		||||
  publish-npm:
 | 
			
		||||
    needs: build
 | 
			
		||||
| 
						 | 
				
			
			@ -27,7 +26,6 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          node-version: 12
 | 
			
		||||
          registry-url: https://registry.npmjs.org/
 | 
			
		||||
      - run: npm ci
 | 
			
		||||
      - run: npm publish
 | 
			
		||||
        env:
 | 
			
		||||
          NODE_AUTH_TOKEN: ${{secrets.npm_token}}
 | 
			
		||||
| 
						 | 
				
			
			@ -41,7 +39,6 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          node-version: 12
 | 
			
		||||
          registry-url: https://npm.pkg.github.com/
 | 
			
		||||
      - run: npm ci
 | 
			
		||||
      - run: npm publish
 | 
			
		||||
        env:
 | 
			
		||||
          NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue