Merge pull request #70 from Next2D/develop #185
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
name: Integration UnitTest | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
macos-browser-test: | |
strategy: | |
matrix: | |
node-version: ["17.x", "18.x"] | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: browser-actions/setup-chromium@latest | |
- uses: browser-actions/setup-firefox@latest | |
- run: npm install | |
- run: npm run test | |
windows-browser-test: | |
strategy: | |
matrix: | |
node-version: ["17.x", "18.x"] | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- uses: browser-actions/setup-chromium@latest | |
- uses: browser-actions/setup-firefox@latest | |
with: | |
firefox-version: "90.0" | |
- run: npm install | |
- run: npm run test |