Skip to content

Update screens.js empty table #564

Update screens.js empty table

Update screens.js empty table #564

Workflow file for this run

name: Publish Package
on:
pull_request:
types: [closed]
branches:
- main
jobs:
publish:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_WORKFLOW_PAT }}
- name: Configure Git with SSH signing
run: |
mkdir -p ~/.ssh
echo "${SSH_SIGNING_KEY}" > ~/.ssh/signing_key
chmod 600 ~/.ssh/signing_key
git config --global user.name "ProcessMaker Bot"
git config --global user.email "[email protected]"
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/signing_key
git config --global commit.gpgsign true
env:
SSH_SIGNING_KEY: ${{ secrets.SSH_SIGNING_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Bump package version
run: npm version patch
- name: Push version change
run: |
git push origin HEAD --follow-tags
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}