Skip to content

Commit

Permalink
🐛 fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
flauwekeul committed Aug 17, 2022
1 parent 2bab5ee commit 5b6f730
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 37 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/deploy.yml

This file was deleted.

26 changes: 21 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@
name: Create release
name: Release
on:
push:
branches:
# todo: change to master once v4 is released
- beta
jobs:
deploy:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Build docs
run: npm run docs:build
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vitepress/dist
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
6 changes: 0 additions & 6 deletions .npmignore

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"lint": "eslint . --fix",
"postinstall": "husky install",
"preview": "vite preview",
"semantic-release": "semantic-release",
"test": "vitest"
},
"author": "Abbe Keultjes <flauwekeul@gmail.com>",
Expand Down Expand Up @@ -51,7 +50,8 @@
"vue": "3.2.37"
},
"files": [
"dist"
"dist",
"FUNDING.yml"
],
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"exclude": ["docs/api/**/*"]
"exclude": ["dist", "docs/api/**/*"]
}

0 comments on commit 5b6f730

Please sign in to comment.