Skip to content

Commit

Permalink
ci: Add tests and standards to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacurtiss committed Jun 3, 2024
1 parent d0a5bab commit 768892b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
node-version-file: ".nvmrc"
cache: "npm"
- name: Install dependencies
run: npm install
run: npm ci
- name: Tests
run: npm test --if-present
- name: Standardization
run: npm run standards --if-present
- name: Build
run: npm run build
- name: Setup Pages
Expand Down

0 comments on commit 768892b

Please sign in to comment.