feat: 8.7 updates (#231) #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: '@nativescript/template-* -> npm' | |
on: | |
push: | |
branches: [ 'main' ] | |
env: | |
NPM_TAG: 'next' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Setup | |
run: npm install | |
- name: Publish All Templates | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | |
run: | | |
# run publish in every package, ignore failures (ie no publish required if the version is already published) | |
npm run prepare-templates | |
npx lerna exec --no-bail --stream --concurrency 1 -- "npm publish || true" |