Skip to content

Commit

Permalink
Merge pull request #101 from jeronimoek/update-color-translator-depen…
Browse files Browse the repository at this point in the history
…dency

fix: windows testing
  • Loading branch information
jeronimoek authored Dec 26, 2023
2 parents e413c80 + b39b175 commit a420720
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 397 deletions.
35 changes: 17 additions & 18 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,31 @@ name: Node.js CI

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v3
- run: sudo apt-get install xvfb;
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: npm test
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
npm test
- uses: actions/checkout@v3
- run: sudo apt-get install xvfb;
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- name: npm test
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
sudo Xvfb -ac :99 -screen 0 1280x1024x24 > /dev/null 2>&1 & # optional
npm test
Loading

0 comments on commit a420720

Please sign in to comment.