react-native: Enable native functions for Bridgeless react-native set… #1344
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: Node.js CI | |
on: | |
push: | |
branches: [main, dev] | |
pull_request: | |
jobs: | |
test_linux_all: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build | |
- run: npm run lint | |
- run: npm run format:check | |
- run: npm test | |
- run: npm run smoketest:node | |
env: | |
SMOKETESTS_SUBMIT_LAYER_URL: ${{ secrets.SMOKETESTS_SUBMIT_LAYER_URL }} | |
SMOKETESTS_DIRECT_SUBMIT_URL: ${{ secrets.SMOKETESTS_DIRECT_SUBMIT_URL }} | |
- run: npm run smoketest:browser | |
env: | |
SMOKETESTS_SUBMIT_LAYER_URL: ${{ secrets.SMOKETESTS_SUBMIT_LAYER_URL }} | |
SMOKETESTS_DIRECT_SUBMIT_URL: ${{ secrets.SMOKETESTS_DIRECT_SUBMIT_URL }} | |
SMOKETESTS_SAUCE_USERNAME: ${{ secrets.SMOKETESTS_SAUCE_USERNAME }} | |
SMOKETESTS_SAUCE_ACCESS_KEY: ${{ secrets.SMOKETESTS_SAUCE_ACCESS_KEY }} | |
test_linux: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
build-version: [20.x] | |
node-version: [16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build using Node.js ${{ matrix.build-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.build-version }} | |
- run: npm ci | |
- run: npm run build | |
- name: Test using Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm test | |
- run: npm run smoketest:node | |
env: | |
SMOKETESTS_SUBMIT_LAYER_URL: ${{ secrets.SMOKETESTS_SUBMIT_LAYER_URL }} | |
SMOKETESTS_DIRECT_SUBMIT_URL: ${{ secrets.SMOKETESTS_DIRECT_SUBMIT_URL }} | |
test_linux_pre_workspaces: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
build-version: [20.x] | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build using Node.js ${{ matrix.build-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.build-version }} | |
- run: npm ci | |
- run: npm run build | |
- name: Test using Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm i -g npm@8 | |
- run: npm test | |
- run: npm run smoketest:node | |
env: | |
SMOKETESTS_SUBMIT_LAYER_URL: ${{ secrets.SMOKETESTS_SUBMIT_LAYER_URL }} | |
SMOKETESTS_DIRECT_SUBMIT_URL: ${{ secrets.SMOKETESTS_DIRECT_SUBMIT_URL }} | |
test_windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run build | |
- run: npm test | |
- run: npm run smoketest:node | |
env: | |
SMOKETESTS_SUBMIT_LAYER_URL: ${{ secrets.SMOKETESTS_SUBMIT_LAYER_URL }} | |
SMOKETESTS_DIRECT_SUBMIT_URL: ${{ secrets.SMOKETESTS_DIRECT_SUBMIT_URL }} |