Skip to content

Commit

Permalink
split deploy and test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
djay committed Jun 13, 2024
1 parent 61f9c7d commit f7fc583
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dispatch.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Kickoff deploy

on:
push:
workflow_run:
workflows: ["Build and test"]
branches: [ main ]

jobs:
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build and test

on:
push:

jobs:
build-test:

runs-on: "ubuntu-latest"

steps:
- name: Install dependencies
run: |
apt-get -y update && apt-get -y install git make
pnpm dlx mrs-developer missdev --no-config --fetch-https \&& pnpm install --frozen-lockfile
- name: Test build
run: |
pnpm run build
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ core
node_modules
results
yarn.lock
.github
dist

0 comments on commit f7fc583

Please sign in to comment.