Skip to content

Commit

Permalink
ci: Split schema validator web build into build test and deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nellh committed Apr 18, 2024
1 parent 2db55dc commit dcb8665
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/schema_web_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Schema validator web deploy

on:
push:
branches: [master]
tags: ['*']
pull_request:
branches: [master]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno task build
working-directory: ./web
- uses: actions/upload-artifact@v4
with:
name: web
path: web/dist
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
---
name: Deno web build
name: Schema validator web deploy

on:
push:
branches: [master]
tags: ['*']
pull_request:
branches: [master]
release:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit dcb8665

Please sign in to comment.