name: Build
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- - uses: actions/setup-node@v2
+ - uses: actions/setup-node@v3
with:
node-version: '16.x'
run: yarn build
- name: Testing
- run: |
- yarn test
- API_ON_SAME_PORT=1 yarn test
+ run: yarn test
+
+ - name: Testing API_ON_SAME_PORT
+ run: API_ON_SAME_PORT=1 yarn test
+
+ - name: Testing REVERSE_ONLY
+ run: REVERSE_ONLY=1 yarn test