docs: Add setSessionId to reference website (#397) #738
This file contains hidden or 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: Test | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: [10.x, 12.x, 14.x] | |
| os: [macos-10.14, ubuntu-18.04] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Check out Git repository | |
| uses: actions/checkout@v2 | |
| - name: node_modules cache | |
| uses: actions/cache@v2 | |
| with: | |
| path: '**/node_modules' | |
| key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: yarn install | |
| run: | | |
| yarn install --frozen-lockfile | |
| - name: prettier check | |
| run: | | |
| yarn run lint:prettier | |
| - name: eslint check | |
| run: | | |
| yarn run lint:eslint | |
| - name: Build and run tests | |
| run: | | |
| make test |