Skip to content

Commit

Permalink
debug artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Jenkins committed Mar 21, 2024
1 parent 957c74b commit f374c57
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ on:
- main

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm test
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: "20.x"
# - run: npm ci
# - run: npm test

build:
runs-on: ubuntu-latest
Expand All @@ -28,14 +28,20 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npm run build
- name: Archive production artifacts
uses: actions/upload-artifact@v4
# - run: npm ci
# - run: npm run build
# - name: Archive production artifacts
# uses: actions/upload-artifact@v4
# with:
# name: github-pages
# path: |
# build/**/*
- run: mkdir -p path/to/artifact
- run: echo hello > path/to/artifact/world.txt
- uses: actions/upload-artifact@v4
with:
name: github-pages
path: |
build/**/*
name: my-artifact
path: path/to/artifact/world.txt

# deploy:
# needs: [build, test]
Expand Down

0 comments on commit f374c57

Please sign in to comment.