Skip to content

Commit c58ea84

Browse files
committed
feat: migrate to using oscd-shell, editV1, scoped md components, updated deps and renamed repo
1 parent 9c9bebe commit c58ea84

36 files changed

+7752
-10032
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Continuous Deployment
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
ci-cd:
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
uses: OMICRONEnergyOSS/oscd-gh-workflows/.github/workflows/continuous-deployment.yml@main
13+
secrets:
14+
gh_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/deploy.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release Please
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
release:
9+
permissions:
10+
contents: write
11+
issues: write
12+
pull-requests: write
13+
id-token: write
14+
uses: OMICRONEnergyOSS/oscd-gh-workflows/.github/workflows/release-please.yml@main
15+
secrets:
16+
npm_token: ${{ secrets.NPM_TOKEN }}
17+
gh_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test-on-pr-branch.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
1-
name: Test On Push
2-
on: push
1+
name: Unit Tests
2+
on:
3+
push:
4+
branches:
5+
- main
36

47
jobs:
58
test:
6-
runs-on: ubuntu-22.04
7-
steps:
8-
- name: Checkout
9-
uses: actions/checkout@v3
10-
11-
- name: Set up Node.js
12-
uses: actions/setup-node@v3
13-
with:
14-
node-version: '20'
15-
16-
- name: Install dependencies
17-
run: npm ci
18-
19-
- name: Run unit tests
20-
run: npm run-script test
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
uses: OMICRONEnergyOSS/oscd-gh-workflows/.github/workflows/unit-tests.yml@main

.gitignore

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,13 @@
1+
node_modules
2+
*.tsbuildinfo
3+
14
## editors
25
/.idea
36
/.vscode
47

5-
## system files
6-
.DS_Store
7-
8-
## npm
9-
/node_modules/
10-
/npm-debug.log
11-
12-
## testing
13-
/coverage/
14-
15-
## temp folders
16-
/.tmp/
17-
18-
# build
19-
/_site/
20-
/dist/
21-
/out-tsc/
22-
/.rollup.cache/
23-
.tsbuildinfo
8+
## build artifacts
9+
dist
10+
coverage
11+
doc
2412

25-
# uncompressed json
2613

27-
storybook-static
28-
custom-elements.json

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

.release-please-manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{ ".": "0.0.0" }

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Changelog

0 commit comments

Comments
 (0)