chore: print warning logs about overwritten workflows (#114) #19
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
# publish as "react-native-ci-cli" with dev version instead of "setup-ci" for testing purposes | |
name: Publish dev version to NPM | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🏗 Setup repo | |
uses: actions/checkout@v4 | |
- name: 🍀 Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
registry-url: 'https://registry.npmjs.org' | |
- name: 📦 Install dependencies | |
run: yarn | |
- name: 🏷️ Bump dev version | |
run: yarn bump:dev | |
- name: 🛠️ Build dev | |
run: yarn build:dev | |
- name: 🚀 Publish dev to NPM repository | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |