Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Remove lint-and-test workflow, incorporate in build-and-deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonb927 committed Jun 10, 2024
1 parent 77eaf6a commit 77a9478
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 26 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,29 @@ jobs:
ve7tzb_ca:
- 've7tzb.ca/**'
lint_and_test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

- name: Install js dependencies
run: npm ci

- name: Run linting
run: npm run lint:nofix

build-brandonb_ca:
name: Build and Deploy brandonb.ca
runs-on: ubuntu-latest
needs:
- files_changed
- lint_and_test
if: ${{ needs.files_changed.outputs.brandonb_ca == 'true' }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -97,6 +115,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- files_changed
- lint_and_test
if: ${{ needs.files_changed.outputs.ve7tzb_ca == 'true' }}
steps:
- uses: actions/checkout@v4
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/lint-and-test.yml

This file was deleted.

0 comments on commit 77a9478

Please sign in to comment.