Skip to content

Commit

Permalink
cant be one file...
Browse files Browse the repository at this point in the history
  • Loading branch information
benhalverson committed Sep 4, 2024
1 parent 9e85c6c commit 0584222
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/nodejs.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
# name: Node.js CI
name: Node.js CI

# on:
# push:
# branches:
# - main
# pull_request:
# branches:
# - '*'
on:
push:
branches:
- main
pull_request:
branches:
- '*'

# jobs:
# build:
# runs-on: ubuntu-latest
jobs:
build:
runs-on: ubuntu-latest

# steps:
# - name: Checkout code
# uses: actions/checkout@v4
steps:
- name: Checkout code
uses: actions/checkout@v4

# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: 20
# cache: 'npm'
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'

# - name: Install Node.js dependencies
# run: npm ci
- name: Install Node.js dependencies
run: npm ci

# - name: Build Project
# run: npm run build # Ensure this outputs to the `dist` directory
- name: Build Project
run: npm run build # Ensure this outputs to the `dist` directory

# - name: Upload Build Artifact
# uses: actions/upload-artifact@v3
# with:
# name: build-artifact
# path: dist
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
with:
name: build-artifact
path: dist

0 comments on commit 0584222

Please sign in to comment.