Skip to content

Commit

Permalink
Merge branch 'V3' of https://github.com/uzh-bf/design-system into Ste…
Browse files Browse the repository at this point in the history
…ncilJSComponents
  • Loading branch information
rschlaefli committed Jun 28, 2024
2 parents 12bbc1b + 0ddc142 commit afbf105
Show file tree
Hide file tree
Showing 167 changed files with 16,481 additions and 13,942 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

- run: npm run lint

check:
check-ts:
runs-on: ubuntu-latest
name: Check Types
steps:
Expand All @@ -35,6 +35,23 @@ jobs:

- run: npm run check

check-format:
runs-on: ubuntu-latest
name: Test
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Use Node 18
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install dependencies
uses: bahmutov/npm-install@v1

- run: npm run format:check

test:
runs-on: ubuntu-latest
name: Test
Expand All @@ -52,11 +69,10 @@ jobs:

- run: npm run test --ci --coverage --maxWorkers=2


build:
name: Build and Publish
runs-on: ubuntu-latest
needs: [lint, check, test]
needs: [lint, check-ts, check-format, test]
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -77,10 +93,12 @@ jobs:
token: ${{ secrets.NPM_TOKEN }}
access: public
check-version: true
if: startsWith(github.ref, 'refs/tags/')

- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
registry: https://npm.pkg.github.com
access: public
check-version: true
if: startsWith(github.ref, 'refs/tags/')
13 changes: 7 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
*.log
.DS_Store
node_modules
.cache
.parcel-cache/
node_modules/
dist/
.turbo/

.DS_Store
.vercel/
.vscode/
build/
.vercel
.vscode
4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-push

This file was deleted.

2 changes: 1 addition & 1 deletion .versionrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const { VersionConfigTypes } = require('./src/constants')
const { VersionConfigTypes } = require('./packages/design-system/src/constants')

module.exports = {
types: VersionConfigTypes,
Expand Down
18 changes: 0 additions & 18 deletions dts.config.js

This file was deleted.

Loading

0 comments on commit afbf105

Please sign in to comment.