fix: package.json to reduce vulnerabilities #72
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LSIF | |
on: | |
- push | |
jobs: | |
lsif-go-root: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-go | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate LSIF data | |
run: lsif-go | |
- name: Upload LSIF data to .com | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-go-lib: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-go | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate LSIF data | |
working-directory: lib/ | |
run: lsif-go | |
- name: Upload LSIF data to .com | |
working-directory: lib/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: lib/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-tsc-web: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-node | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install build dependencies | |
run: apk --no-cache add python g++ make git | |
- name: Install dependencies | |
run: yarn --ignore-engines --ignore-scripts | |
- name: Generate | |
run: ./node_modules/.bin/gulp generate | |
- name: Generate LSIF data | |
working-directory: client/web/ | |
run: lsif-tsc -p . | |
- name: Upload LSIF data to .com | |
working-directory: client/web/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: client/web/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-tsc-shared: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-node | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install build dependencies | |
run: apk --no-cache add python g++ make git | |
- name: Install dependencies | |
run: yarn --ignore-engines --ignore-scripts | |
- name: Generate | |
run: ./node_modules/.bin/gulp generate | |
- name: Generate LSIF data | |
working-directory: client/shared/ | |
run: lsif-tsc -p . | |
- name: Upload LSIF data to .com | |
working-directory: client/shared/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: client/shared/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-tsc-branded: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-node | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install build dependencies | |
run: apk --no-cache add python g++ make git | |
- name: Install dependencies | |
run: yarn --ignore-engines --ignore-scripts | |
- name: Generate | |
run: ./node_modules/.bin/gulp generate | |
- name: Generate LSIF data | |
working-directory: client/branded/ | |
run: lsif-tsc -p . | |
- name: Upload LSIF data to .com | |
working-directory: client/branded/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: client/branded/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-tsc-browser: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-node | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install build dependencies | |
run: apk --no-cache add python g++ make git | |
- name: Install dependencies | |
run: yarn --ignore-engines --ignore-scripts | |
- name: Generate | |
run: ./node_modules/.bin/gulp generate | |
- name: Generate LSIF data | |
working-directory: client/browser/ | |
run: lsif-tsc -p . | |
- name: Upload LSIF data to .com | |
working-directory: client/browser/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: client/browser/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-tsc-wildcard: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-node | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install build dependencies | |
run: apk --no-cache add python g++ make git | |
- name: Install dependencies | |
run: yarn --ignore-engines --ignore-scripts | |
- name: Generate | |
run: ./node_modules/.bin/gulp generate | |
- name: Generate LSIF data | |
working-directory: client/wildcard/ | |
run: lsif-tsc -p . | |
- name: Upload LSIF data to .com | |
working-directory: client/wildcard/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: client/wildcard/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-eslint-web: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-node | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install build dependencies | |
run: apk --no-cache add python g++ make git | |
- name: Install dependencies | |
run: yarn --ignore-engines --ignore-scripts | |
- name: Generate | |
run: ./node_modules/.bin/gulp generate | |
- name: Build TypeScript | |
run: yarn run --ignore-engines build-ts | |
- name: Generate LSIF data | |
working-directory: client/web/ | |
run: yarn eslint -f lsif -o dump.lsif | |
- name: Upload LSIF data to .com | |
working-directory: client/web/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: client/web/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-eslint-shared: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-node | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install build dependencies | |
run: apk --no-cache add python g++ make git | |
- name: Install dependencies | |
run: yarn --ignore-engines --ignore-scripts | |
- name: Generate | |
run: ./node_modules/.bin/gulp generate | |
- name: Build TypeScript | |
run: yarn run --ignore-engines build-ts | |
- name: Generate LSIF data | |
working-directory: client/shared/ | |
run: yarn eslint -f lsif -o dump.lsif | |
- name: Upload LSIF data to .com | |
working-directory: client/shared/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: client/shared/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-eslint-browser: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-node | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install build dependencies | |
run: apk --no-cache add python g++ make git | |
- name: Install dependencies | |
run: yarn --ignore-engines --ignore-scripts | |
- name: Generate | |
run: ./node_modules/.bin/gulp generate | |
- name: Build TypeScript | |
run: yarn run --ignore-engines build-ts | |
- name: Generate LSIF data | |
working-directory: client/browser/ | |
run: yarn eslint -f lsif -o dump.lsif | |
- name: Upload LSIF data to .com | |
working-directory: client/browser/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: client/browser/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ | |
lsif-eslint-wildcard: | |
if: github.repository == 'sourcegraph/sourcegraph' | |
runs-on: ubuntu-latest | |
container: sourcegraph/lsif-node | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install build dependencies | |
run: apk --no-cache add python g++ make git | |
- name: Install dependencies | |
run: yarn --ignore-engines --ignore-scripts | |
- name: Generate | |
run: ./node_modules/.bin/gulp generate | |
- name: Build TypeScript | |
run: yarn run --ignore-engines build-ts | |
- name: Generate LSIF data | |
working-directory: client/wildcard/ | |
run: yarn eslint -f lsif -o dump.lsif | |
- name: Upload LSIF data to .com | |
working-directory: client/wildcard/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
- name: Upload LSIF data to dogfood | |
working-directory: client/wildcard/ | |
run: src lsif upload -github-token=${{ secrets.GITHUB_TOKEN }} | |
env: | |
SRC_ENDPOINT: https://k8s.sgdev.org/ |