Skip to content

chore(deps): bump lerna from 7.1.1 to 7.1.4 #334

chore(deps): bump lerna from 7.1.1 to 7.1.4

chore(deps): bump lerna from 7.1.1 to 7.1.4 #334

Workflow file for this run

---
name: Deno build
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@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: ./build.ts
working-directory: ./bids-validator
- uses: actions/upload-artifact@v3
with:
name: main
path: bids-validator/dist/validator
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 5
strategy:
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
fail-fast: false
defaults:
run:
working-directory: ./bids-validator
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1.1.2
with:
deno-version: v1.x
- name: Get bids-examples
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- run: deno test --allow-all --coverage=cov/ src/
- name: Collect coverage
run: deno coverage cov/ --lcov --output=coverage.lcov
if: ${{ always() }}
- uses: codecov/codecov-action@v3
if: ${{ always() }}
with:
files: coverage.lcov
deploy:
needs: [build]
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' && github.repository_owner == 'bids-standard'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.PUSH_TOKEN }}
- name: Set credentials
run: |
git config --global user.name "BIDS-Bot"
git config --global user.email "bids-maintenance@users.noreply.github.com"
- name: Save describe stamp
run: echo VERSION=$( git describe ) >> $GITHUB_ENV
- name: Checkout orphan
run: |
git checkout deno-build
git rm -rf .
- uses: actions/download-artifact@v3
with:
name: main
path: main
- name: Commit to new branch
run: |
mv main/main.js .
mv main/bids-validator.js .
git add main.js bids-validator.js
git commit -m "BLD: $VERSION [skip ci]" || true
- name: Push
run: git push origin deno-build