[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-timings-module.
0

Configure Feed

Select the types of activity you want to include in your feed.

1name: ci 2 3on: 4 push: 5 branches: 6 - main 7 - renovate/* 8 pull_request: 9 branches: 10 - main 11 12jobs: 13 ci: 14 runs-on: ${{ matrix.os }} 15 16 strategy: 17 matrix: 18 os: [ubuntu-latest, macos-latest, windows-latest] 19 node: [14, 16] 20 21 steps: 22 - uses: actions/setup-node@v3 23 with: 24 node-version: ${{ matrix.node }} 25 26 - name: checkout 27 uses: actions/checkout@v3 28 29 - name: Get yarn cache directory path 30 id: yarn-cache-dir-path 31 run: echo "::set-output name=dir::$(yarn cache dir)" 32 33 - uses: actions/cache@v3 34 id: yarn-cache 35 with: 36 path: ${{ steps.yarn-cache-dir-path.outputs.dir }} 37 key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles('**/yarn.lock') }} 38 restore-keys: | 39 ${{ matrix.os }}-yarn- 40 41 - name: Install dependencies 42 run: yarn 43 44 - name: Lint 45 run: yarn lint:all 46 47 - name: Test 48 run: yarn test 49 50 - name: Coverage 51 uses: codecov/codecov-action@v3