Skip to content

fix: remove --legacy-peer-deps flag on install (#5839) #192

fix: remove --legacy-peer-deps flag on install (#5839)

fix: remove --legacy-peer-deps flag on install (#5839) #192

name: 'nativescript -> npm'
on:
push:
branches: [ 'main' ]
paths-ignore:
- 'packages/**'
workflow_dispatch:
env:
NPM_TAG: 'next'
jobs:
release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 22.14.0
- name: Setup
run: npm i --ignore-scripts --legacy-peer-deps --no-package-lock
- name: Generate Version
run: |
echo NPM_VERSION=$(node -e "console.log(require('./package.json').version);")-$NPM_TAG-$(date +"%m-%d-%Y")-$GITHUB_RUN_ID >> $GITHUB_ENV
- name: Bump Version
run: npm version $NPM_VERSION
- name: Build nativescript
run: npm pack
- name: Publish nativescript
env:
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
echo "Publishing nativescript@$NPM_VERSION to NPM with tag $NPM_TAG..."
npm publish nativescript-$NPM_VERSION.tgz --tag $NPM_TAG
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy