Skip to content

Commit

Permalink
build: switch from rollup to vite build
Browse files Browse the repository at this point in the history
  • Loading branch information
mlmoravek committed Nov 7, 2024
1 parent f806410 commit b7bdafc
Show file tree
Hide file tree
Showing 12 changed files with 221 additions and 1,106 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies 📦
run: npm install
- name: Run build lib
run: npm run build:lib
- name: Run build lib 🛠️
run: npm run build
12 changes: 8 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Use Node.js '20.x'
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm run build:lib
- run: npm publish --access public
- name: Install dependencies 📦
run: npm install
- name: Build lib 🛠️
run: npm run build
- name: Publish NPM lib 📋
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
30 changes: 0 additions & 30 deletions .stylelintrc.cjs

This file was deleted.

17 changes: 0 additions & 17 deletions build/banner.js

This file was deleted.

Loading

0 comments on commit b7bdafc

Please sign in to comment.