Skip to content

Commit

Permalink
update github workflow names
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalecks committed Jun 26, 2023
1 parent a6e99de commit 2ae285e
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 88 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.dex-ui.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
8 changes: 4 additions & 4 deletions .github/workflows/ci.protocol.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Continuous Integration - Protocol
name: Protocol

on:
pull_request:
types: [opened, synchronize]
paths:
- 'protocol/**'
- "protocol/**"

jobs:
test:
Expand All @@ -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'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.sdk-wells.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.sdk.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Continuous Integration - SDK
name: SDK

on:
pull_request:
types: [opened, synchronize]
paths:
- 'projects/sdk/**'
- "projects/sdk/**"

jobs:
test:
Expand All @@ -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'
Expand Down
66 changes: 33 additions & 33 deletions .github/workflows/ci.subgraph-bean.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
66 changes: 33 additions & 33 deletions .github/workflows/ci.subgraph-beanstalk.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/ci.ui.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Continuous Integration - UI
name: UI

on:
pull_request:
types: [opened, synchronize]
paths:
- 'projects/ui/**'
- "projects/ui/**"

jobs:
test:
Expand All @@ -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'
Expand All @@ -35,4 +35,3 @@ jobs:
with:
start: yarn ui:start
command: yarn test:browser

0 comments on commit 2ae285e

Please sign in to comment.