Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge deno validator #2173

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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
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,7 +1,11 @@
---
name: Schema validator web deploy
name: Web validator build and deploy

on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
release:
types: [published]

Expand All @@ -11,41 +15,34 @@ concurrency:

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' && github.event.action == 'published'
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