Skip to content

Commit

Permalink
Don't include dist, build in workflow, and fix readme + version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn committed Sep 25, 2024
1 parent b78f858 commit c09d253
Show file tree
Hide file tree
Showing 45 changed files with 13 additions and 4,474 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,30 @@ concurrency:
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci

publish-npm:
environment:
name: npm
url: "https://www.npmjs.com/package/@thunderbirdops/services-ui"
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- name: Copy files to dist
- name: Install project deps
run: npm ci

- name: Build project
run: npm run build

- name: Copy extra files to dist
run: |
cp README.md ./dist/README.md
cp LICENSE ./dist/LICENSE
cp package.json ./dist/package.json
- run: npm publish ./dist
- name: Publish project on npm
run: npm publish ./dist
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Note this is heavily work-in-progress.

## Usage

You can install the library by adding the following line as a dependancy to your package.json:
You can install the library by adding the following line as a dependency to your package.json:

```
https://github.com/thunderbird/services-ui.git
npm i @thunderbirdops/services-ui
```

## Library Development
Expand Down
Binary file removed dist/fonts/Inter/Inter-Black.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-BlackItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-Bold.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-BoldItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-ExtraBold.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-ExtraBoldItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-ExtraLight.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-ExtraLightItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-Italic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-Light.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-LightItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-Medium.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-MediumItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-Regular.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-SemiBold.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-SemiBoldItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-Thin.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/Inter-ThinItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-Black.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-BlackItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-Bold.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-BoldItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-ExtraBold.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-ExtraBoldItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-ExtraLight.woff2
Binary file not shown.
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-Italic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-Light.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-LightItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-Medium.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-MediumItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-Regular.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-SemiBold.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-SemiBoldItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-Thin.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterDisplay-ThinItalic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterVariable-Italic.woff2
Binary file not shown.
Binary file removed dist/fonts/Inter/InterVariable.woff2
Binary file not shown.
Loading

0 comments on commit c09d253

Please sign in to comment.