gaztec 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,5 +16,7 @@ jobs:
16
16
  - name: Install dependencies
17
17
  run: pnpm install --frozen-lockfile
18
18
 
19
+ - uses: ./
20
+
19
21
  - name: Run tests
20
22
  run: pnpm test
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "1.1.0"
2
+ ".": "1.3.0"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.0](https://github.com/nemi-fi/gaztec/compare/v1.2.0...v1.3.0) (2026-03-04)
4
+
5
+
6
+ ### Features
7
+
8
+ * Remove gaztec-install from package.json bin section ([95e1127](https://github.com/nemi-fi/gaztec/commit/95e112732c68b88f2f9d40bd49b2c0ce2907451c))
9
+ * Self-test github action ([32161e3](https://github.com/nemi-fi/gaztec/commit/32161e352296017c0892ba8649361d4f9b806911))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * Properly reference action.yml ([8e177a2](https://github.com/nemi-fi/gaztec/commit/8e177a2e9d5c6b4948c61e6afcaee0538666db5e))
15
+
16
+ ## [1.2.0](https://github.com/nemi-fi/gaztec/compare/v1.1.0...v1.2.0) (2026-03-04)
17
+
18
+
19
+ ### Features
20
+
21
+ * Add action.yml ([#3](https://github.com/nemi-fi/gaztec/issues/3)) ([8abfd07](https://github.com/nemi-fi/gaztec/commit/8abfd07225162f93068ad668bde727e35aa9f0b4))
22
+
3
23
  ## [1.1.0](https://github.com/nemi-fi/gaztec/compare/v1.0.3...v1.1.0) (2026-03-04)
4
24
 
5
25
 
package/README.md CHANGED
@@ -43,7 +43,11 @@ npm i gaztec -D
43
43
 
44
44
  ## CI
45
45
 
46
- Commit a `.aztecrc` file to your repo and use `npx gaztec` in your workflow. No setup step needed:
46
+ Commit a `.aztecrc` file to your repo. Use the **gaztec GitHub Action** for cached installs in your CI(saves 1-2 minutes per run).
47
+
48
+ The action caches Aztec between runs to speed up workflows:
49
+
50
+ <!-- x-release-please-start-version -->
47
51
 
48
52
  ```yaml
49
53
  name: Test
@@ -55,11 +59,18 @@ jobs:
55
59
  runs-on: ubuntu-latest
56
60
  steps:
57
61
  - uses: actions/checkout@v4
58
- - uses: pnpm/action-setup@v4
59
- - uses: actions/setup-node@v4
62
+ - name: Setup Node.js
63
+ uses: actions/setup-node@v4
60
64
  with:
61
65
  node-version: 24
62
66
 
67
+ - name: Install dependencies
68
+ run: npm ci
69
+
70
+ # gaztec action requires node.js and installed dependencies to run
71
+ - name: Setup gaztec
72
+ uses: nemi-fi/gaztec@v1.3.0
73
+
63
74
  - name: Compile Aztec contracts
64
75
  run: npx gaztec compile
65
76
 
@@ -67,6 +78,8 @@ jobs:
67
78
  run: npx gaztec start --local-network
68
79
  ```
69
80
 
81
+ <!-- x-release-please-end -->
82
+
70
83
  ## Compatibility with `aztec`
71
84
 
72
85
  | gaztec version | aztec version |
package/action.yml ADDED
@@ -0,0 +1,19 @@
1
+ name: "Setup gaztec"
2
+ description: "Restore cache for Aztec and run gaztec installer."
3
+
4
+ runs:
5
+ using: "composite"
6
+ steps:
7
+ - name: Cache Aztec
8
+ uses: actions/cache@v5
9
+ with:
10
+ path: |
11
+ ~/.aztec
12
+ ~/.foundry
13
+ key: gaztec-${{ runner.os }}
14
+ restore-keys: |
15
+ gaztec-${{ runner.os }}-
16
+
17
+ - name: Install gaztec
18
+ shell: bash
19
+ run: npx gaztec --version
package/gaztec-install CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaztec",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "type": "module",
5
5
  "description": "Aztec version manager",
6
6
  "repository": {
@@ -8,7 +8,6 @@
8
8
  "url": "https://github.com/nemi-fi/gaztec.git"
9
9
  },
10
10
  "bin": {
11
- "gaztec-install": "./gaztec-install",
12
11
  "gaztec": "./gaztec"
13
12
  },
14
13
  "scripts": {
@@ -7,7 +7,8 @@
7
7
  "packages": {
8
8
  ".": {
9
9
  "release-type": "node",
10
- "include-component-in-tag": false
10
+ "include-component-in-tag": false,
11
+ "extra-files": [{ "type": "generic", "path": "README.md" }]
11
12
  }
12
13
  },
13
14
  "plugins": ["sentence-case"]