Skip to content

Commit

Permalink
Update Node.js version and add test build step
Browse files Browse the repository at this point in the history
  • Loading branch information
preston176 committed Feb 20, 2024
1 parent dfc6916 commit 1524899
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/npm-run-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,27 @@ name: Test npm run dev
on:
push:
branches:
- main
- main
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "16"

- name: Install dependencies
run: npm install
- name: Install dependencies
run: npm install

- name: Run npm run dev
run: npm run dev
- name: Run npm run dev
run: npm run dev

- name: Test build
run: npm run build

0 comments on commit 1524899

Please sign in to comment.