Skip to content

Commit

Permalink
chore: general project cleanup and update
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed Apr 22, 2024
1 parent b6d3ac4 commit f13a18a
Show file tree
Hide file tree
Showing 10 changed files with 3,046 additions and 2,716 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
website/* linguist-vendored
website/** linguist-documentation
8 changes: 4 additions & 4 deletions .github/workflows/ci-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Actions - Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Actions - Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'

- name: Cache Dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
if: ${{ !startsWith(github.event.head_commit.message, 'no-ci') }}
steps:
- name: ➕ Actions - Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: ➕ Actions - Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '20.x'

- name: ➕ Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
Expand All @@ -33,7 +33,7 @@ jobs:
run: npm run prettier:checker

- name: 🐳 Building MySQL Container Container
run: docker-compose -f ./test/docker-compose.yml up -d
run: npm run docker:up

- name: 🤹🏻‍♀️ Building the Project
run: npm run build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Actions - Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Actions - Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'

- name: Cache Dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
Expand All @@ -39,7 +39,7 @@ jobs:
run: cd website && npm run build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build
10 changes: 5 additions & 5 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🤝 Release Please
uses: google-github-actions/release-please-action@v3
uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -20,18 +20,18 @@ jobs:
changelog-path: 'CHANGELOG.md'

- name: ➕ Actions - Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ steps.release.outputs.releases_created }}

- name: ➕ Actions - Setup NodeJS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
if: ${{ steps.release.outputs.releases_created }}
with:
node-version: '18.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'

- name: ➕ Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
if: ${{ steps.release.outputs.releases_created }}
with:
path: ~/.npm
Expand Down
Loading

0 comments on commit f13a18a

Please sign in to comment.