diff --git a/.github/workflows/ci.dex-ui.yaml b/.github/workflows/ci.dex-ui.yaml index 9b864796b1..fc351087b6 100644 --- a/.github/workflows/ci.dex-ui.yaml +++ b/.github/workflows/ci.dex-ui.yaml @@ -1,10 +1,10 @@ -name: Continuous Integration - DEX-UI +name: DEX-UI on: pull_request: types: [opened, synchronize] paths: - - 'projects/dex-ui/**' + - "projects/dex-ui/**" jobs: build: @@ -14,17 +14,17 @@ jobs: - name: Node Install uses: actions/setup-node@v3 with: - node-version: '16' + node-version: "16" - name: Cache Node Modules id: node-modules-cache uses: actions/cache@v3 with: - path: '**/node_modules' + path: "**/node_modules" key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install Dependencies if: steps.node-modules-cache.outputs.cache-hit != 'true' run: yarn install --immutable - name: Build SDKs run: yarn build - - name: Confirm DEX-UI Build + - name: Confirm DEX-UI Build run: yarn workspace dex-ui build diff --git a/.github/workflows/ci.protocol.yaml b/.github/workflows/ci.protocol.yaml index cea2131550..9d00a96f6e 100644 --- a/.github/workflows/ci.protocol.yaml +++ b/.github/workflows/ci.protocol.yaml @@ -1,10 +1,10 @@ -name: Continuous Integration - Protocol +name: Protocol on: pull_request: types: [opened, synchronize] paths: - - 'protocol/**' + - "protocol/**" jobs: test: @@ -14,12 +14,12 @@ jobs: - name: Protocol Tests uses: actions/setup-node@v3 with: - node-version: '16' + node-version: "16" - name: Cache Node Modules id: node-modules-cache uses: actions/cache@v3 with: - path: '**/node_modules' + path: "**/node_modules" key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install Dependencies if: steps.node-modules-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/ci.sdk-wells.yaml b/.github/workflows/ci.sdk-wells.yaml index 1f7205eb3c..aeb9e2c81f 100644 --- a/.github/workflows/ci.sdk-wells.yaml +++ b/.github/workflows/ci.sdk-wells.yaml @@ -1,10 +1,10 @@ -name: Continuous Integration - Wells SDK +name: Wells SDK on: pull_request: types: [opened, synchronize] paths: - - 'projects/sdk-wells/**' + - "projects/sdk-wells/**" jobs: test: @@ -14,12 +14,12 @@ jobs: - name: SDK Wells Tests uses: actions/setup-node@v3 with: - node-version: '16' + node-version: "16" - name: Cache Node Modules id: node-modules-cache uses: actions/cache@v3 with: - path: '**/node_modules' + path: "**/node_modules" key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install Dependencies if: steps.node-modules-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/ci.sdk.yaml b/.github/workflows/ci.sdk.yaml index 7c11a449eb..bbf1a42456 100644 --- a/.github/workflows/ci.sdk.yaml +++ b/.github/workflows/ci.sdk.yaml @@ -1,10 +1,10 @@ -name: Continuous Integration - SDK +name: SDK on: pull_request: types: [opened, synchronize] paths: - - 'projects/sdk/**' + - "projects/sdk/**" jobs: test: @@ -14,12 +14,12 @@ jobs: - name: SDK Tests uses: actions/setup-node@v3 with: - node-version: '16' + node-version: "16" - name: Cache Node Modules id: node-modules-cache uses: actions/cache@v3 with: - path: '**/node_modules' + path: "**/node_modules" key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install Dependencies if: steps.node-modules-cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/ci.subgraph-bean.yaml b/.github/workflows/ci.subgraph-bean.yaml index 3cbdc24e14..1ab07020a1 100644 --- a/.github/workflows/ci.subgraph-bean.yaml +++ b/.github/workflows/ci.subgraph-bean.yaml @@ -1,49 +1,49 @@ -name: Continuous Integration - Subgraph Bean +name: Subgraph Bean on: pull_request: types: [opened, synchronize] paths: - - 'projects/subgraph-bean/**' + - "projects/subgraph-bean/**" jobs: compile: runs-on: ubuntu-latest name: Compile steps: - - name: Check out source repository - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: '16' - - name: Cache Node Modules - id: node-modules-cache - uses: actions/cache@v3 - with: - path: '**/node_modules' - key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - - name: Install The Graph CLI - run: npm install -g @graphprotocol/graph-cli - - name: Install Dependencies - if: steps.node-modules-cache.outputs.cache-hit != 'true' - run: yarn install --immutable + - name: Check out source repository + uses: actions/checkout@v3 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: "16" + - name: Cache Node Modules + id: node-modules-cache + uses: actions/cache@v3 + with: + path: "**/node_modules" + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + - name: Install The Graph CLI + run: npm install -g @graphprotocol/graph-cli + - name: Install Dependencies + if: steps.node-modules-cache.outputs.cache-hit != 'true' + run: yarn install --immutable - # Generate code and check for uncommitted changes - # https://github.com/marketplace/actions/check-uncommitted-changes - - name: Generate Subgraph Code - run: yarn codegen - working-directory: projects/subgraph-bean - - name: Check for uncommitted changes - id: check-changes - uses: mskri/check-uncommitted-changes-action@v1.0.1 - - name: Evaluate if there are changes - if: steps.check-changes.outputs.outcome == failure() - run: echo "There are uncommitted changes - execute 'yarn codegen' locally and commit the generated files!" + # Generate code and check for uncommitted changes + # https://github.com/marketplace/actions/check-uncommitted-changes + - name: Generate Subgraph Code + run: yarn codegen + working-directory: projects/subgraph-bean + - name: Check for uncommitted changes + id: check-changes + uses: mskri/check-uncommitted-changes-action@v1.0.1 + - name: Evaluate if there are changes + if: steps.check-changes.outputs.outcome == failure() + run: echo "There are uncommitted changes - execute 'yarn codegen' locally and commit the generated files!" - - name: Build Subgraph - run: yarn build - working-directory: projects/subgraph-bean + - name: Build Subgraph + run: yarn build + working-directory: projects/subgraph-bean # TODO: add matchstick test suite #- name: Run Tests # run: yarn test diff --git a/.github/workflows/ci.subgraph-beanstalk.yaml b/.github/workflows/ci.subgraph-beanstalk.yaml index 71d8d64b47..8b26cdea1f 100644 --- a/.github/workflows/ci.subgraph-beanstalk.yaml +++ b/.github/workflows/ci.subgraph-beanstalk.yaml @@ -1,49 +1,49 @@ -name: Continuous Integration - Subgraph Beanstalk +name: Subgraph Beanstalk on: pull_request: types: [opened, synchronize] paths: - - 'projects/subgraph-beanstalk/**' + - "projects/subgraph-beanstalk/**" jobs: compile: runs-on: ubuntu-latest name: Compile steps: - - name: Check out source repository - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v3 - with: - node-version: '16' - - name: Cache Node Modules - id: node-modules-cache - uses: actions/cache@v3 - with: - path: '**/node_modules' - key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - - name: Install The Graph CLI - run: npm install -g @graphprotocol/graph-cli - - name: Install Dependencies - if: steps.node-modules-cache.outputs.cache-hit != 'true' - run: yarn install --immutable + - name: Check out source repository + uses: actions/checkout@v3 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: "16" + - name: Cache Node Modules + id: node-modules-cache + uses: actions/cache@v3 + with: + path: "**/node_modules" + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + - name: Install The Graph CLI + run: npm install -g @graphprotocol/graph-cli + - name: Install Dependencies + if: steps.node-modules-cache.outputs.cache-hit != 'true' + run: yarn install --immutable - # Generate code and check for uncommitted changes - # https://github.com/marketplace/actions/check-uncommitted-changes - - name: Generate Subgraph Code - run: yarn codegen - working-directory: projects/subgraph-beanstalk - - name: Check for uncommitted changes - id: check-changes - uses: mskri/check-uncommitted-changes-action@v1.0.1 - - name: Evaluate if there are changes - if: steps.check-changes.outputs.outcome == failure() - run: echo "There are uncommitted changes - execute 'yarn codegen' locally and commit the generated files!" + # Generate code and check for uncommitted changes + # https://github.com/marketplace/actions/check-uncommitted-changes + - name: Generate Subgraph Code + run: yarn codegen + working-directory: projects/subgraph-beanstalk + - name: Check for uncommitted changes + id: check-changes + uses: mskri/check-uncommitted-changes-action@v1.0.1 + - name: Evaluate if there are changes + if: steps.check-changes.outputs.outcome == failure() + run: echo "There are uncommitted changes - execute 'yarn codegen' locally and commit the generated files!" - - name: Build Subgraph - run: yarn build - working-directory: projects/subgraph-beanstalk + - name: Build Subgraph + run: yarn build + working-directory: projects/subgraph-beanstalk # TODO: add matchstick test suite #- name: Run Tests # run: yarn test diff --git a/.github/workflows/ci.ui.yaml b/.github/workflows/ci.ui.yaml index 14e9ebbe4a..f80c95e6c0 100644 --- a/.github/workflows/ci.ui.yaml +++ b/.github/workflows/ci.ui.yaml @@ -1,10 +1,10 @@ -name: Continuous Integration - UI +name: UI on: pull_request: types: [opened, synchronize] paths: - - 'projects/ui/**' + - "projects/ui/**" jobs: test: @@ -14,12 +14,12 @@ jobs: - name: UI Tests uses: actions/setup-node@v3 with: - node-version: '16' + node-version: "16" - name: Cache Node Modules id: node-modules-cache uses: actions/cache@v3 with: - path: '**/node_modules' + path: "**/node_modules" key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} - name: Install Dependencies if: steps.node-modules-cache.outputs.cache-hit != 'true' @@ -35,4 +35,3 @@ jobs: with: start: yarn ui:start command: yarn test:browser -