gaztec 1.1.0 → 1.2.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.
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "1.1.0"
2
+ ".": "1.2.0"
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.2.0](https://github.com/nemi-fi/gaztec/compare/v1.1.0...v1.2.0) (2026-03-04)
4
+
5
+
6
+ ### Features
7
+
8
+ * Add action.yml ([#3](https://github.com/nemi-fi/gaztec/issues/3)) ([8abfd07](https://github.com/nemi-fi/gaztec/commit/8abfd07225162f93068ad668bde727e35aa9f0b4))
9
+
3
10
  ## [1.1.0](https://github.com/nemi-fi/gaztec/compare/v1.0.3...v1.1.0) (2026-03-04)
4
11
 
5
12
 
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.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gaztec",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "description": "Aztec version manager",
6
6
  "repository": {
@@ -7,7 +7,13 @@
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": [
12
+ {
13
+ "type": "generic",
14
+ "path": "README.md"
15
+ }
16
+ ]
11
17
  }
12
18
  },
13
19
  "plugins": ["sentence-case"]