chore(deps): update dependency @types/react to v18.2.67 #1511
Workflow file for this run
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: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [14, 16, 18] | |
orbitjs: [0.16.7, 0.17.0] | |
experimental: [false] | |
include: | |
- node: 17 | |
experimental: true | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- run: echo "::set-output name=dir::$(yarn cache dir)" | |
id: yarn-cache-dir-path | |
- uses: actions/cache@v3 | |
with: | |
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- run: | | |
echo "`jq '.devDependencies."@orbit/data"="${{ matrix.orbitjs }}"' package.json`" > package.json | |
echo "`jq '.devDependencies."@orbit/memory"="${{ matrix.orbitjs }}"' package.json`" > package.json | |
- run: yarn install | |
- run: yarn test | |
- run: yarn build | |
# coverage: | |
# needs: test | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: actions/setup-node@v3 | |
# with: | |
# node-version: 14 | |
# - run: echo "::set-output name=dir::$(yarn cache dir)" | |
# id: yarn-cache-dir-path | |
# - uses: actions/cache@v3 | |
# with: | |
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | |
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
# restore-keys: | | |
# ${{ runner.os }}-yarn- | |
# - run: yarn install | |
# - uses: paambaati/[email protected] | |
# env: | |
# CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
# with: | |
# coverageCommand: yarn test --coverage |