| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 637d2eb commit 3806c58
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -123,7 +123,7 @@ jobs: | |||
| 123 | 123 | strategy: | |
| 124 | 124 | matrix: | |
| 125 | 125 | node: [20, 22, 24] | |
| 126 | - arch: [x86, x64] | ||
| 126 | + arch: [x86, x64, arm64] | ||
| 127 | 127 | exclude: | |
| 128 | 128 | - node: 24 | |
| 129 | 129 | arch: x86 | |
@@ -141,16 +141,27 @@ jobs: | |||
| 141 | 141 | - uses: actions/checkout@v4 | |
| 142 | 142 | ||
| 143 | 143 | - name: Use Node.js | |
| 144 | + if: matrix.arch == 'x86' | ||
| 144 | 145 | uses: actions/setup-node@v4 | |
| 145 | 146 | with: | |
| 146 | 147 | node-version: ${{ matrix.node }} | |
| 147 | 148 | check-latest: true | |
| 148 | - architecture: ${{ matrix.arch }} | ||
| 149 | + architecture: x86 | ||
| 150 | + | ||
| 151 | + - name: Use Node.js | ||
| 152 | + uses: actions/setup-node@v4 | ||
| 153 | + if: matrix.arch != 'x86' | ||
| 154 | + with: | ||
| 155 | + node-version: ${{ matrix.node }} | ||
| 156 | + check-latest: true | ||
| 149 | 157 | ||
| 150 | 158 | - name: Install | |
| 159 | + env: | ||
| 160 | + npm_config_arch: ${{ matrix.arch == 'x86' && 'ia32' || matrix.arch }} | ||
| 151 | 161 | run: npm install | |
| 152 | 162 | ||
| 153 | 163 | - name: Test | |
| 164 | + if: matrix.arch != 'arm64' | ||
| 154 | 165 | env: | |
| 155 | 166 | GIT_SSH: ${{ github.workspace }}\vendor\plink.exe | |
| 156 | 167 | run: | | |
@@ -170,12 +181,12 @@ jobs: | |||
| 170 | 181 | ||
| 171 | 182 | - name: Deploy (Package) | |
| 172 | 183 | if: startsWith(github.ref, 'refs/tags/v') | |
| 173 | - run: node-pre-gyp package | ||
| 184 | + run: node-pre-gyp package --target_arch=${{ matrix.arch }} | ||
| 174 | 185 | ||
| 175 | 186 | - name: Deploy (Publish) | |
| 176 | 187 | if: startsWith(github.ref, 'refs/tags/v') | |
| 177 | 188 | env: | |
| 178 | 189 | node_pre_gyp_bucket: ${{ secrets.node_pre_gyp_bucket }} | |
| 179 | 190 | AWS_ACCESS_KEY_ID: ${{ secrets.node_pre_gyp_accessKeyId }} | |
| 180 | 191 | AWS_SECRET_ACCESS_KEY: ${{ secrets.node_pre_gyp_secretAccessKey }} | |
| 181 | - run: node-pre-gyp publish | ||
| 192 | + run: node-pre-gyp publish --target_arch=${{ matrix.arch }} | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments