Skip to content

Commit

Permalink
ci: add github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdmlln committed Feb 5, 2024
1 parent 88c5803 commit 34cfa94
Show file tree
Hide file tree
Showing 6 changed files with 175 additions and 6 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI

on:
pull_request:

jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: remindgmbh/[email protected]
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: |
npm ci
npm run static-analysis
17 changes: 17 additions & 0 deletions .github/workflows/publish_development.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish Development

on:
push:
branches:
- "develop"

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: remindgmbh/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
node-version: 20
npm-token: ${{ secrets.NPM_TOKEN }}
type: npm-pre
17 changes: 17 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Release

on:
push:
branches:
- "main"

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: remindgmbh/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
node-version: 20
npm-token: ${{ secrets.NPM_TOKEN }}
type: github-npm
120 changes: 117 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"eslint": "^8.56.0",
"nuxt": "^3.9.3",
"prettier": "^3.2.5",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"vue-tsc": "^1.8.27"
}
}
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "./.nuxt/tsconfig.json"
"extends": "./playground/.nuxt/tsconfig.json"
}

0 comments on commit 34cfa94

Please sign in to comment.