Skip to content

Updated workflow files #11

Updated workflow files

Updated workflow files #11

Workflow file for this run

name: Publish dev version
on:
workflow_run:
workflows: ["Publish dev version"]
types:
- manual
jobs:
publish-dev-version:
runs-on: ubuntu-latest
steps:
- name: 🤘 checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3.0.0
with:
node-version: 18.x
cache: 'npm'
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: 🛠️ Build
run: npm run build
- name: 🔐 Authenticate with NPM
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTOMATION_TOKEN_CHRIS }}" > ~/.npmrc
- name: Publish packages to NPM with dev tag
run: |

Check failure on line 32 in .github/workflows/npm-publish-dev.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/npm-publish-dev.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
for dir in packages/*; do
if [ -d "$dir" ]; then
echo "Publishing $dir package"
cd "$dir"
npm publish --tag dev
cd ..
fi
done