Skip to content

Update .npmignore

Update .npmignore #45

Workflow file for this run

name: publish-lib
on:
push:
branches: [lib]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js environment
uses: actions/setup-node@v1.4.4
with:
# Version Spec of the version to use. Examples: 10.x, 10.15.1, >=10.15.0
node-version: 16.x
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Publish lib
run: |
git config --global user.name 'CSIDE-Shell'
git config --global user.email '32689095+CSIDE-Shell@users.noreply.github.com'
git checkout lib --
npm ci
npm run build-monaco-editor
git update-index --refresh || true
if ! git diff-index --quiet HEAD --; then git add out && git commit -m "Automatic build triggered by $GITHUB_SHA" && git push origin lib; fi