Skip to content

Merge pull request #88 from Lightning-Flow-Scanner/prettier-eslint-li… #2

Merge pull request #88 from Lightning-Flow-Scanner/prettier-eslint-li…

Merge pull request #88 from Lightning-Flow-Scanner/prettier-eslint-li… #2

Workflow file for this run

---
#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
#######################################
# Start the job on all push to master #
#######################################
name: 'Build & Deploy - Beta'
on:
push:
branches:
- main
- master
permissions: read-all
concurrency:
group: ${{ github.ref_name }}-${{ github.workflow }}
cancel-in-progress: true
###############
# Set the Job #
###############
jobs:
# Deploy to NPM
deploy_to_npm:
name: Deploy to NPM (beta)
runs-on: ubuntu-latest
permissions: read-all
environment:
name: beta
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: "18.x"
registry-url: "https://registry.npmjs.org"
scope: rubenhalman
- run: npm ci
- run: |
git config --global user.name nvuillam
git config --global user.email [email protected]
- run: BETAID=$(date '+%Y%m%d%H%M') && npm version prerelease --preid="beta$BETAID"
shell: bash
- run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}