Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Run CI even if the PRs #3

Merged
merged 1 commit into from
May 13, 2022
Merged
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
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Test & Deploy
name: Deploy products
on:
push:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'
- 'docs/**'
- 'elm.json'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/test_and_deploy.yml'
- '.github/workflows/deploy_products.yml'
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -20,8 +19,6 @@ jobs:
elm-version: 0.19.1
- name: install npm dependencies
run: npm install
- name: Test
run: ./node_modules/elm-test/bin/elm-test
- run: elm make src/Main.elm --output=docs/main.js
- name: git setting
run: |
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test
on:
push:
branches: [ main ]
paths:
- 'src/**'
- 'tests/**'
- 'docs/**'
- 'elm.json'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/test.yml'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'docs/**'
- 'elm.json'
- 'package.json'
- 'package-lock.json'
- '.github/workflows/test.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jorelali/setup-elm@v3
with:
elm-version: 0.19.1
- name: install npm dependencies
run: npm install
- name: Test
run: ./node_modules/elm-test/bin/elm-test