Skip to content

Commit

Permalink
chore: update dependencies (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored Aug 7, 2024
1 parent aed780c commit 45bc503
Show file tree
Hide file tree
Showing 5 changed files with 4,143 additions and 12,367 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ name: Build and deploy on GitHub pages
on:
workflow_dispatch:
push:
branches: main
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16.x
node-version-file: package.json
- name: Install dependencies
run: |
npm ci
run: npm ci
- name: Build
run: npm run build
- name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@releases/v3
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
BRANCH: gh-pages
FOLDER: build
CLEAN: true
token: ${{ secrets.BOT_TOKEN }}
branch: gh-pages
folder: build
clean: true
25 changes: 9 additions & 16 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
name: Actions
name: Node.js CI

on:
push:
branches: main
branches:
- main
pull_request:

env:
NODE_VERSION: 16.x

jobs:
prettier-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: npm ci
- name: Run Prettier
run: npm run prettier
nodejs:
# Documentation: https://github.com/zakodium/workflows#nodejs-ci
uses: zakodium/workflows/.github/workflows/nodejs.yml@nodejs-v1
with:
lint-eslint: false
disable-tests: true
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
Loading

0 comments on commit 45bc503

Please sign in to comment.