Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mauran <thomasmauran@yahoo.com>
  • Loading branch information
thomas-mauran committed Nov 21, 2024
1 parent 0a253fa commit 26f7731
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/test-deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,32 @@ on:
pull_request:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on

jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Navigate to website directory
working-directory: website
run: |
echo "Navigating to the website directory"

- uses: actions/setup-node@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: yarn

- name: ls
run: ls
working-directory: ./website

# Navigate into the website folder for all subsequent steps
- name: Install dependencies
run: yarn install --frozen-lockfile
working-directory: ./website

- name: Test build website
run: yarn build
working-directory: ./website

0 comments on commit 26f7731

Please sign in to comment.