Skip to content

Commit

Permalink
Merge pull request #2173 from effigies/purge-deno-validator
Browse files Browse the repository at this point in the history
Purge deno validator
  • Loading branch information
effigies authored Nov 4, 2024
2 parents ad84a5b + 874ead7 commit b8cb5f9
Show file tree
Hide file tree
Showing 115 changed files with 17 additions and 9,885 deletions.
99 changes: 0 additions & 99 deletions .github/workflows/deno_tests.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/schema_web_build.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,51 +1,55 @@
---
name: Schema validator web deploy
name: Web validator build and deploy

on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
release:
types: [published]
workflow_dispatch:
inputs:
deploy:
description: Deploy to github-pages
required: false
type: boolean


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

jobs:
build:
name: Build web validator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Use Node 18 for legacy build
- uses: actions/setup-node@v4
with:
node-version: 18
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno task build
working-directory: ./web
- name: Install NPM deps
run: npm install
- name: Build legacy validator website
run: npm run web-export
- name: Move legacy validator build into deno website
run: mv bids-validator-web/out web/dist/legacy
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: web/dist
path: bids-validator-web/out
deploy:
name: Deploy web validator
needs: build
if: github.event_name == 'release' || inputs.deploy
permissions:
contents: read
pages: write
id-token: write
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
uses: actions/deploy-pages@v4
3 changes: 0 additions & 3 deletions bids-validator/bids-validator-deno

This file was deleted.

73 changes: 0 additions & 73 deletions bids-validator/build.ts

This file was deleted.

57 changes: 0 additions & 57 deletions bids-validator/deno.json

This file was deleted.

6 changes: 0 additions & 6 deletions bids-validator/src/.git-meta.json

This file was deleted.

Loading

0 comments on commit b8cb5f9

Please sign in to comment.