File tree Expand file tree Collapse file tree 3 files changed +82
-1
lines changed Expand file tree Collapse file tree 3 files changed +82
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : release-please
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ jobs :
7
+ release-please :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : navikt/github-app-token-generator@a9cd374e271b8aef573b8c16ac46c44fb89b02db
11
+ id : get-token
12
+ with :
13
+ private-key : ${{ secrets.TOKENS_PRIVATE_KEY }}
14
+ app-id : ${{ secrets.TOKENS_APP_ID }}
15
+ - uses : GoogleCloudPlatform/release-please-action@v3
16
+ id : release
17
+ with :
18
+ token : ${{ steps.get-token.outputs.token }}
19
+ release-type : node
20
+ package-name : " @netlify/@netlify/zip-it-and-ship-it"
21
+ - uses : actions/checkout@v3
22
+ if : ${{ steps.release.outputs.release_created }}
23
+ - uses : actions/setup-node@v3
24
+ with :
25
+ node-version : " *"
26
+ cache : " npm"
27
+ check-latest : true
28
+ registry-url : " https://registry.npmjs.org"
29
+ if : ${{ steps.release.outputs.release_created }}
30
+ - run : wasm-pack build --target nodejs --release
31
+ if : ${{ steps.release.outputs.release_created }}
32
+ - run : wasm-pack publish
33
+ if : ${{ steps.release.outputs.release_created }}
34
+ env :
35
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+ pull_request :
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ matrix :
13
+ os : [ubuntu-latest, macOS-latest, windows-latest]
14
+ node-version : [14.15.0, "*"]
15
+ exclude :
16
+ - os : macOS-latest
17
+ node-version : 14.15.0
18
+ - os : windows-latest
19
+ node-version : 14.15.0
20
+ fail-fast : false
21
+ steps :
22
+ - name : Git checkout
23
+ uses : actions/checkout@v3
24
+ # - name: Node.js ${{ matrix.node }}
25
+ # uses: actions/setup-node@v3
26
+ # with:
27
+ # node-version: ${{ matrix.node-version }}
28
+ # cache: "npm"
29
+ # check-latest: true
30
+ - name : Setup rust
31
+ uses : actions-rs/toolchain@v1
32
+ with :
33
+ toolchain : stable
34
+ override : true
35
+ components : rustfmt, clippy
36
+ # - name: Install Node.js dependencies
37
+ # run: npm ci
38
+ - name : Run cargo check
39
+ uses : actions-rs/cargo@v1
40
+ with :
41
+ command : check
42
+ - name : Rust tests
43
+ uses : actions-rs/cargo@v1
44
+ with :
45
+ command : test
46
+ # - name: Node.js tests
47
+ # run: npm run test:ci
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ version = "0.1.1"
4
4
authors = [" David Calavera <david.calavera@gmail.com>" ]
5
5
edition = " 2018"
6
6
repository = " https://github.com/netlify/elf-cam"
7
- private = true
8
7
license = " Apache 2"
9
8
description = " elf-cam is a WebAssembly(WASM) module to extract very specific information from binary files built for Linux, also known as ELF files."
10
9
You can’t perform that action at this time.
0 commit comments