|
|
@ -7,10 +7,10 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install Node.js 14 |
|
|
|
- name: Install Node.js 18 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
node-version: 14.x |
|
|
|
node-version: 18.x |
|
|
|
cache: 'npm' |
|
|
|
cache: 'npm' |
|
|
|
- run: npm ci |
|
|
|
- run: npm ci |
|
|
|
- run: npm run lint |
|
|
|
- run: npm run lint |
|
|
@ -20,7 +20,7 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
strategy: |
|
|
|
strategy: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
node-version: [12.x, 14.x, 16.x] |
|
|
|
node-version: [14.x, 16.x, 18.x] |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install Node.js ${{ matrix.node-version }} |
|
|
|
- name: Install Node.js ${{ matrix.node-version }} |
|
|
@ -36,10 +36,10 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install Node.js 14 |
|
|
|
- name: Install Node.js 18 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
node-version: 14.x |
|
|
|
node-version: 18.x |
|
|
|
cache: 'npm' |
|
|
|
cache: 'npm' |
|
|
|
- name: Install Chrome Stable |
|
|
|
- name: Install Chrome Stable |
|
|
|
uses: browser-actions/setup-chrome@latest |
|
|
|
uses: browser-actions/setup-chrome@latest |
|
|
@ -51,10 +51,10 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Install Node.js 14 |
|
|
|
- name: Install Node.js 18 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
uses: actions/setup-node@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
node-version: 14.x |
|
|
|
node-version: 18.x |
|
|
|
cache: 'npm' |
|
|
|
cache: 'npm' |
|
|
|
- run: npm ci |
|
|
|
- run: npm ci |
|
|
|
- run: npm run test:react-native |
|
|
|
- run: npm run test:react-native |
|
|
|