Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rshewitt committed Apr 23, 2024
1 parent b27cea3 commit f6a69f1
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,19 @@ on:

jobs:
test:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: Run App
run: docker compose up -d
- name: 'Cypress run'
uses: cypress-io/github-action@v5
build:
runs-on: ubuntu-22.04
needs: test
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install Dependencies
run: npm i
- name: Build App
run: npm run build

- name: Cypress Run
uses: cypress-io/github-action@v6
with:
project: .
browser: chrome
build: npm run build
start: npm run dev
wait-on: "http://localhost:3000"
# deploy:
# runs-on: ubuntu-22.04
# needs: build
Expand Down

0 comments on commit f6a69f1

Please sign in to comment.