Skip to content

feat: 8.7 updates (#231) #72

feat: 8.7 updates (#231)

feat: 8.7 updates (#231) #72

Workflow file for this run

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"