Bump @codemirror/commands from 6.6.2 to 6.7.0 in the production group #160
Workflow file for this run
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
name: Embeddable library | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
library: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup NodeJS LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install dependencies | |
run: npm ci | |
- name: Build library | |
run: npm run build -- --mode library | |
- name: Build library with external Svelte | |
run: npm run build -- --mode library-external-svelte | |
- name: Deploy | |
if: ${{ github.ref == 'refs/heads/main' }} | |
run: | | |
git config --global user.email "<>" | |
git config --global user.name "Automatic library publish" | |
git add -f dist/* | |
git commit -m "Publish library (${GITHUB_SHA})" | |
git push -f origin "${GITHUB_REF_NAME}:library" |