Skip to content

Commit

Permalink
Add Github CI (#20)
Browse files Browse the repository at this point in the history
This PR adds GitHub CI to the project that checks that the package
builds. It turns out that there was a typo in the import statements that
was causing build errors (which I dicovered when manually building
locally). In order for CI to pass, the typo is fixed.

In addition, this PR also bumps the package version to v2.1.1 to make a
new bugfix release including the import path update.
  • Loading branch information
nlordell authored May 13, 2024
1 parent 2108954 commit 8aaf797
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: safe-modules
on:
pull_request:
push:
branches: [main]

jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: yarn
cache-dependency-path: yarn.lock
- run: yarn
- run: yarn build
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@safe-global/safe-modules-deployments",
"version": "2.1.0",
"version": "2.1.1",
"description": "Collection of Safe Modules singleton deployments",
"homepage": "https://github.com/safe-global/safe-modules-deployments/",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/safe-4337-module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Safe4337Module030 from './assets/safe-4337-module/v0.3.0/safe-4337-module.json';
import Safe4337Module020 from './assets/safe-4337-module/v0.2.0/safe-4337-module.json';
import SafeModuleSetup030 from './assets/safe-4337-module/v0.3.0/safe-setup-module.json';
import SafeModuleSetup030 from './assets/safe-4337-module/v0.3.0/safe-module-setup.json';
import AddModulesLib020 from './assets/safe-4337-module/v0.2.0/add-modules-lib.json';
import { DeploymentFilter, Deployment } from './types';
import { applyFilterDefaults, findDeployment } from './utils';
Expand Down

0 comments on commit 8aaf797

Please sign in to comment.