Skip to content

Commit

Permalink
add some ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Bulat committed Mar 2, 2024
1 parent a0e9996 commit de4a9e2
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2

updates:
- package-ecosystem: npm
directory: '/'
schedule:
interval: monthly
open-pull-requests-limit: 30

- package-ecosystem: github-actions
directory: '/'
schedule:
interval: monthly
23 changes: 23 additions & 0 deletions .github/workflows/gh-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: GitHub Pages Publish

on:
push:
branches: [main]

jobs:
gh-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org
- run: yarn install
- name: Build
working-directory: '.'
run: yarn build:pages
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build:pages": "tsc && vite build --base '/polkadot-developer-console/'",
"lint": "eslint . --fix && npx prettier --write .",
"preview": "vite preview"
},
Expand Down

0 comments on commit de4a9e2

Please sign in to comment.