chore(deps): update actions/checkout digest to a5ac7e5 #1661
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # 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@v4 | |
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 |