Skip to content

Commit

Permalink
add github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Jul 18, 2023
1 parent 1ae310e commit 7f65be5
Show file tree
Hide file tree
Showing 4 changed files with 935 additions and 1,161 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,22 @@
name: Test

on: [push]

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Run Tests
run: yarn test
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -12,17 +12,17 @@
"remove-local": "graph remove graphprotocol/ens --node http://127.0.0.1:8020",
"docker:setup": "yarn codegen && yarn docker:create-local && yarn docker:deploy-local",
"docker:create-local": "graph create graphprotocol/ens --node http://ens-app_graph-node_1:8020",
"docker:deploy-local": "graph deploy graphprotocol/ens --debug --ipfs http://ens-app_ipfs_1:5001 --node http://ens-app_graph-node_1:8020/ --version-label 0.0.1",
"docker:deploy-local": "graph deploy graphprotocol/ens --ipfs http://ens-app_ipfs_1:5001 --node http://ens-app_graph-node_1:8020/ --version-label 0.0.1",
"docker:remove-local": "graph remove graphprotocol/ens --node http://ens-app_graph-node_1:8020",
"build": "graph build",
"deploy": "graph deploy ensdomains/ens --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/",
"watch-local": "graph deploy graphprotocol/ens --watch --debug --node http://127.0.0.1:8020/ --ipfs http://localhost:5001"
},
"devDependencies": {
"@ensdomains/content-hash": "^2.5.3",
"@graphprotocol/graph-cli": "^0.44.0",
"@graphprotocol/graph-ts": "^0.29.1",
"assemblyscript": "^0.26.3",
"@graphprotocol/graph-cli": "^0.51.2",
"@graphprotocol/graph-ts": "^0.31.0",
"assemblyscript": "^0.19.0",
"matchstick-as": "^0.5.0",
"typescript": "^4.9.4"
}
Expand Down
4 changes: 4 additions & 0 deletions tests/.latest.json
@@ -0,0 +1,4 @@
{
"version": "0.5.4",
"timestamp": 1689639506312
}

0 comments on commit 7f65be5

Please sign in to comment.