-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
486a9da
commit 2759e4a
Showing
5 changed files
with
45 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Test and Release | ||
on: [push, pull_request] | ||
permissions: | ||
contents: read | ||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
node: [12, 14, 16, 18, 20] | ||
arch: [x86, x64] | ||
exclude: | ||
- { os: ubuntu-latest, arch: x86 } | ||
- { os: macos-latest, arch: x86 } | ||
runs-on: ${{ matrix.os }} | ||
name: ${{ matrix.os }} / Node ${{ matrix.node }} ${{ matrix.arch }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 2 | ||
# Force Python to 3.11 until prebuild updates to node-gyp 10 | ||
- name: Use Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11' | ||
- name: Use node ${{ matrix.node }} ${{ matrix.arch }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
architecture: ${{ matrix.arch }} | ||
- name: Install | ||
run: npm install | ||
- name: Test | ||
env: | ||
PREBUILD_TOKEN: ${{ secrets.PREBUILD_TOKEN }} | ||
run: npm test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters