Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: Test and Deploy
Deploy: Test and Deploy
on:
push:
branches: [ main ]
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm install
- run: npm ci
- run: npm test
# jobs:
# test:
# name: Test
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: 16.x
# - run: npm install
# - run: npm ci
# - run: npm test
build:
name: Build and Deploy
needs: test
# needs: test
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
42 changes: 21 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# name: Test
# on:
# pull_request:
# branches: [ main ]
name: Test
on:
pull_request:
branches: [ main ]

# # top-level call-out of the different tasks within the workflow
# jobs:
# # job id
# test:
# name: Test
# runs-on: ubuntu-latest
# top-level call-out of the different tasks within the workflow
jobs:
# job id
test:
name: Test
runs-on: ubuntu-latest

# # list of steps to complete in the workflow, in order
# steps:
# # extend from these published, pre-configured actions
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# # the node version for the setup-node action
# node-version: 16.x
# # Install packages and run tests
# - run: npm ci
# - run: npm test
# list of steps to complete in the workflow, in order
steps:
# extend from these published, pre-configured actions
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
# the node version for the setup-node action
node-version: 16.x
# Install packages and run tests
- run: npm ci
- run: npm test