Skip to content

Commit

Permalink
Publish core (#1377)
Browse files Browse the repository at this point in the history
* Updated Lit to 2.2.7

* Chore: Added package-lock

* Updated pcakge-lock

* Chore: removed open-scd class from core

* Removed generated files

* Added Release-please

* Update package.json

Chore: Removed open-scd from exports list in Core

* Update de.xlf

Fix: Updated german translation

* Update release-please.yml

Core should be run only
  • Loading branch information
pascalwilbrink authored Dec 19, 2023
1 parent a3f2f5c commit b669ce7
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 902 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
on:
push:
branches:
- main

name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
command: manifest
token: ${{ secrets.GITHUB_TOKEN }}
# The logic below handles the npm publication:
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v1
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: cd packages/core && npm run build
if: ${{ steps.release.outputs.release_created }}
- run: cd packages/core && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
- run: |
git config user.name "GitHubActions"
git config user.email "<[email protected]>"
200 changes: 0 additions & 200 deletions packages/core/open-scd.spec.ts

This file was deleted.

Loading

0 comments on commit b669ce7

Please sign in to comment.