forked from Axosoft/nsfw
-
Notifications
You must be signed in to change notification settings - Fork 0
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
13a84d9
commit 42cbb49
Showing
5 changed files
with
421 additions
and
512 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 |
---|---|---|
|
@@ -13,11 +13,13 @@ jobs: | |
name: "Linux Tests" | ||
strategy: | ||
matrix: | ||
container: ["centos:7", "ubuntu:18.04"] | ||
node: [12, 14] | ||
container: ["ubuntu:18.04"] | ||
node: [18, 20, 22] | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ${{ matrix.container }} | ||
env: | ||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
|
@@ -43,44 +45,44 @@ jobs: | |
yarn | ||
yarn test | ||
macos-tests: | ||
name: "MacOS Tests" | ||
strategy: | ||
matrix: | ||
node: [12, 14] | ||
runs-on: macOS-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# macos-tests: | ||
# name: "MacOS Tests" | ||
# strategy: | ||
# matrix: | ||
# node: [16, 18, 20, 22] | ||
# runs-on: macOS-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
check-latest: true | ||
# - name: Use Node.js ${{ matrix.node }} | ||
# uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: ${{ matrix.node }} | ||
# check-latest: true | ||
|
||
- run: | | ||
npm install --global yarn | ||
yarn | ||
yarn test | ||
# - run: | | ||
# npm install --global yarn | ||
# yarn | ||
# yarn test | ||
|
||
windows-tests: | ||
name: "Windows Tests" | ||
strategy: | ||
matrix: | ||
node: [12, 14] | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# windows-tests: | ||
# name: "Windows Tests" | ||
# strategy: | ||
# matrix: | ||
# node: [12, 14] | ||
# runs-on: windows-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js ${{ matrix.node }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
check-latest: true | ||
# - name: Use Node.js ${{ matrix.node }} | ||
# uses: actions/setup-node@v4 | ||
# with: | ||
# node-version: ${{ matrix.node }} | ||
# check-latest: true | ||
|
||
- run: | | ||
npm install --global yarn | ||
npm install --global [email protected] | ||
npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | ||
yarn | ||
yarn test | ||
# - run: | | ||
# npm install --global yarn | ||
# npm install --global [email protected] | ||
# npm prefix -g | % {npm config set node_gyp "$_\node_modules\node-gyp\bin\node-gyp.js"} | ||
# yarn | ||
# yarn test |
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 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 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
Oops, something went wrong.