uncommented out most of the jobs

This commit is contained in:
Quinn Dougherty 2022-09-12 13:50:21 +08:00
parent 3677b9582e
commit 7beff3f834

View File

@ -49,26 +49,26 @@ jobs:
with: with:
paths: '["packages/cli/**"]' paths: '["packages/cli/**"]'
# lang-lint: lang-lint:
# name: Language lint name: Language lint
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: pre_check needs: pre_check
# if: ${{ needs.pre_check.outputs.should_skip_lang != 'true' }} if: ${{ needs.pre_check.outputs.should_skip_lang != 'true' }}
# defaults: defaults:
# run: run:
# shell: bash shell: bash
# working-directory: packages/squiggle-lang working-directory: packages/squiggle-lang
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - name: Install Dependencies - name: Install Dependencies
# run: cd ../../ && yarn run: cd ../../ && yarn
# - name: Check rescript lint - name: Check rescript lint
# run: yarn lint:rescript run: yarn lint:rescript
# - name: Check javascript, typescript, and markdown lint - name: Check javascript, typescript, and markdown lint
# uses: creyD/prettier_action@v4.2 uses: creyD/prettier_action@v4.2
# with: with:
# dry: true dry: true
# prettier_options: --check packages/squiggle-lang prettier_options: --check packages/squiggle-lang
lang-build-test-bundle: lang-build-test-bundle:
name: Language build, test, and bundle name: Language build, test, and bundle
@ -98,96 +98,96 @@ jobs:
- name: Upload typescript coverage report - name: Upload typescript coverage report
run: yarn coverage:ts:ci run: yarn coverage:ts:ci
# components-lint: components-lint:
# name: Components lint name: Components lint
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: pre_check needs: pre_check
# if: ${{ needs.pre_check.outputs.should_skip_components != 'true' }} if: ${{ needs.pre_check.outputs.should_skip_components != 'true' }}
# defaults: defaults:
# run: run:
# shell: bash shell: bash
# working-directory: packages/components working-directory: packages/components
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - name: Check javascript, typescript, and markdown lint - name: Check javascript, typescript, and markdown lint
# uses: creyD/prettier_action@v4.2 uses: creyD/prettier_action@v4.2
# with: with:
# dry: true dry: true
# prettier_options: --check packages/components --ignore-path packages/components/.prettierignore prettier_options: --check packages/components --ignore-path packages/components/.prettierignore
#
# components-bundle-build:
# name: Components bundle and build
# runs-on: ubuntu-latest
# needs: pre_check
# if: ${{ (needs.pre_check.outputs.should_skip_components != 'true') || (needs.pre_check.outputs.should_skip_lang != 'true') }}
# defaults:
# run:
# shell: bash
# working-directory: packages/components
# steps:
# - uses: actions/checkout@v3
# - name: Install dependencies from monorepo level
# run: cd ../../ && yarn
# - name: Build rescript codebase in squiggle-lang
# run: cd ../squiggle-lang && yarn build
# - name: Run webpack
# run: yarn bundle
# - name: Build storybook
# run: yarn build
# website-lint: components-bundle-build:
# name: Website lint name: Components bundle and build
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: pre_check needs: pre_check
# if: ${{ needs.pre_check.outputs.should_skip_website != 'true' }} if: ${{ (needs.pre_check.outputs.should_skip_components != 'true') || (needs.pre_check.outputs.should_skip_lang != 'true') }}
# defaults: defaults:
# run: run:
# shell: bash shell: bash
# working-directory: packages/website working-directory: packages/components
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - name: Check javascript, typescript, and markdown lint - name: Install dependencies from monorepo level
# uses: creyD/prettier_action@v4.2 run: cd ../../ && yarn
# with: - name: Build rescript codebase in squiggle-lang
# dry: true run: cd ../squiggle-lang && yarn build
# prettier_options: --check packages/website - name: Run webpack
# run: yarn bundle
# website-build: - name: Build storybook
# name: Website build run: yarn build
# runs-on: ubuntu-latest
# needs: pre_check website-lint:
# if: ${{ (needs.pre_check.outputs.should_skip_website != 'true') || (needs.pre_check.outputs.should_skip_lang != 'true') || (needs.pre_check.outputs.should_skip_components != 'true') }} name: Website lint
# defaults: runs-on: ubuntu-latest
# run: needs: pre_check
# shell: bash if: ${{ needs.pre_check.outputs.should_skip_website != 'true' }}
# working-directory: packages/website defaults:
# steps: run:
# - uses: actions/checkout@v3 shell: bash
# - name: Install dependencies from monorepo level working-directory: packages/website
# run: cd ../../ && yarn steps:
# - name: Build rescript in squiggle-lang - uses: actions/checkout@v3
# run: cd ../squiggle-lang && yarn build - name: Check javascript, typescript, and markdown lint
# - name: Build components uses: creyD/prettier_action@v4.2
# run: cd ../components && yarn build with:
# - name: Build website assets dry: true
# run: yarn build prettier_options: --check packages/website
#
# vscode-ext-lint: website-build:
# name: VS Code extension lint name: Website build
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: pre_check needs: pre_check
# if: ${{ needs.pre_check.outputs.should_skip_vscodeext != 'true' }} if: ${{ (needs.pre_check.outputs.should_skip_website != 'true') || (needs.pre_check.outputs.should_skip_lang != 'true') || (needs.pre_check.outputs.should_skip_components != 'true') }}
# defaults: defaults:
# run: run:
# shell: bash shell: bash
# working-directory: packages/vscode-ext working-directory: packages/website
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - name: Check javascript, typescript, and markdown lint - name: Install dependencies from monorepo level
# uses: creyD/prettier_action@v4.2 run: cd ../../ && yarn
# with: - name: Build rescript in squiggle-lang
# dry: true run: cd ../squiggle-lang && yarn build
# prettier_options: --check packages/vscode-ext - name: Build components
run: cd ../components && yarn build
- name: Build website assets
run: yarn build
vscode-ext-lint:
name: VS Code extension lint
runs-on: ubuntu-latest
needs: pre_check
if: ${{ needs.pre_check.outputs.should_skip_vscodeext != 'true' }}
defaults:
run:
shell: bash
working-directory: packages/vscode-ext
steps:
- uses: actions/checkout@v3
- name: Check javascript, typescript, and markdown lint
uses: creyD/prettier_action@v4.2
with:
dry: true
prettier_options: --check packages/vscode-ext
vscode-ext-build: vscode-ext-build:
name: VS Code extension build name: VS Code extension build
@ -204,19 +204,19 @@ jobs:
run: cd ../../ && yarn run: cd ../../ && yarn
- name: Build - name: Build
run: yarn compile run: yarn compile
# cli-lint: cli-lint:
# name: CLI lint name: CLI lint
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: pre_check needs: pre_check
# if: ${{ needs.pre_check.outputs.should_skip_cli != 'true' }} if: ${{ needs.pre_check.outputs.should_skip_cli != 'true' }}
# defaults: defaults:
# run: run:
# shell: bash shell: bash
# working-directory: packages/cli working-directory: packages/cli
# steps: steps:
# - uses: actions/checkout@v3 - uses: actions/checkout@v3
# - name: Check javascript, typescript, and markdown lint - name: Check javascript, typescript, and markdown lint
# uses: creyD/prettier_action@v4.2 uses: creyD/prettier_action@v4.2
# with: with:
# dry: true dry: true
# prettier_options: --check packages/cli prettier_options: --check packages/cli