Skip to content

Commit

Permalink
[Shared] Extract models to shared package
Browse files Browse the repository at this point in the history
  • Loading branch information
bgeisb committed Dec 3, 2023
1 parent 09aead2 commit 1611b07
Show file tree
Hide file tree
Showing 25 changed files with 7,853 additions and 7,727 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/publish-shared-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish package to GitHub Packages

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@octocat'
- run: npm i
working-directory: ./packages/uicompanion-shared
- run: npm publish
working-directory: ./packages/uicompanion-shared
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 1611b07

Please sign in to comment.