Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/danielroe/typed-vuex. 🏦 A typed store accessor for vanilla Vuex. typed-vuex.roe.dev
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657name: test
on: push: branches: - master pull_request: branches: - "*"
jobs: compatibility: runs-on: ubuntu-latest strategy: matrix: nuxt: ["2.9", "2.10"]
steps: - uses: actions/checkout@v1
- uses: actions/cache@v1 id: cache with: path: "node_modules" key: ${{ runner.os }}-${{ matrix.nuxt }}-${{ hashFiles('yarn.lock') }}
- name: Install dependencies if: steps.cache.outputs.cache-hit != 'true' run: yarn && yarn workspace nuxt-typed-vuex add nuxt@${{ matrix.nuxt }}
- name: Test project run: yarn build && yarn test
latest: runs-on: ubuntu-latest
steps: - uses: actions/checkout@v1
- uses: actions/cache@v1 id: cache with: path: "node_modules" key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install dependencies if: steps.cache.outputs.cache-hit != 'true' run: yarn
- name: Test project run: yarn build && yarn test
- name: Coverage run: yarn codecov env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}