From 999bc9e077b623267567077d4599917a13164c71 Mon Sep 17 00:00:00 2001 From: Mihir Soni Date: Mon, 22 Mar 2021 09:31:30 -0700 Subject: [PATCH] Create basic Github wofklow for sentity check. (#214) Signed-off-by: Mihir Soni --- .github/workflows/bootstrap_lint_workflow.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/bootstrap_lint_workflow.yml diff --git a/.github/workflows/bootstrap_lint_workflow.yml b/.github/workflows/bootstrap_lint_workflow.yml new file mode 100644 index 000000000000..346b85905376 --- /dev/null +++ b/.github/workflows/bootstrap_lint_workflow.yml @@ -0,0 +1,29 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.23.1] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: yarn osd bootstrap + - run: yarn lint