Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-vue3-module.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051name: ci
on: push: branches: - main pull_request: branches: - main
jobs: ci: runs-on: ${{ matrix.os }}
strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] node: [12, 14]
steps: - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }}
- name: checkout uses: actions/checkout@v2
- name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ matrix.os }}-yarn-
- name: Install dependencies run: yarn
- name: Lint run: yarn lint:all
- name: Test run: yarn test
- name: Coverage uses: codecov/codecov-action@v2