Skip to content

Commit

Permalink
chore: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeraa committed Jan 1, 2024
1 parent 8abd498 commit 215db0b
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 28 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node v16
uses: actions/setup-node@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 16
cache: yarn
node-version: 18.x

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Install dependencies
run: yarn
run: pnpm i --frozen-lockfile

- name: Build
run: yarn build
run: pnpm build
3 changes: 3 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ export default defineNuxtConfig({
"@unocss/reset/eric-meyer.css"
],
devtools: { enabled: true },
features: {
inlineStyles: false
},
googleFonts: {
families: {
Nunito: [400, 600, 700, 800, 900]
Expand Down
46 changes: 25 additions & 21 deletions pages/contributors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,27 +78,31 @@
</script>

<template>
<div v-if="!error">
<ContributorSection
string="page.contributors.staff"
:contributors="staff"
/>
<ContributorSection
string="page.contributors.supporters"
:contributors="supporters"
/>
<ContributorSection
string="page.contributors.presenceDevelopers"
:contributors="presenceDevelopers"
/>
<ContributorSection
string="page.contributors.translators"
:contributors="translators"
/>
</div>
<div v-else>
<h1 class="color-primary font-discord font-size-8 mb-2">Error</h1>
<p>{{ error }}</p>
<div class="flex justify-center mx-5">
<div class="max-w-400">
<div v-if="!error">
<ContributorSection
string="page.contributors.staff"
:contributors="staff"
/>
<ContributorSection
string="page.contributors.supporters"
:contributors="supporters"
/>
<ContributorSection
string="page.contributors.presenceDevelopers"
:contributors="presenceDevelopers"
/>
<ContributorSection
string="page.contributors.translators"
:contributors="translators"
/>
</div>
<div v-else>
<h1 class="color-primary font-discord font-size-8 mb-2">Error</h1>
<p>{{ error }}</p>
</div>
</div>
</div>
</template>

Expand Down

0 comments on commit 215db0b

Please sign in to comment.