Skip to content

Commit

Permalink
chore: upgrade pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
itsjavi committed Aug 12, 2024
1 parent 3be4911 commit d1d252e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/actions/setup-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ runs:
using: "composite"
steps:
# Setup Bun, PNPM and Node
- uses: oven-sh/setup-bun@v1
- uses: oven-sh/setup-bun@v2

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
run_install: false

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
# registry-url: https://npm.pkg.github.com
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy-main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Deploy to Production

env:
NODE_VERSION: 20.13.1
PNPM_VERSION: 9.1.1
NODE_VERSION: 20.16.0
PNPM_VERSION: 9.7.0

on:
workflow_dispatch:
Expand All @@ -26,7 +26,7 @@ jobs:
name: Build the project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed to be able to reference prev commits and refs

Expand All @@ -37,7 +37,7 @@ jobs:
uses: ./.github/actions/check-quality

- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5

- name: Build the project
run: |
Expand All @@ -54,7 +54,7 @@ jobs:
ls -la ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3

deploy:
name: Deploy to GitHub Pages
Expand All @@ -66,7 +66,7 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

deploy-vercel:
name: Deploy to Vercel
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Quality Checks

env:
NODE_VERSION: 20.13.1
PNPM_VERSION: 9.1.1
NODE_VERSION: 20.16.0
PNPM_VERSION: 9.7.0

on:
push:
Expand All @@ -21,7 +21,7 @@ jobs:
name: "Quality Checks"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Setup project"
uses: ./.github/actions/setup-project
Expand Down

0 comments on commit d1d252e

Please sign in to comment.