diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 448d0239..b63e5ec8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,19 +13,18 @@ jobs: node-version: [12.x, 14.x, 16.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - name: yarn install - run: yarn --frozen-lockfile - - name: test - run: yarn test - - name: coverage test - run: yarn jest --coverage - - uses: coverallsapp/github-action@v1.1.2 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: "yarn" + - name: yarn install + run: yarn --frozen-lockfile + - name: test + run: yarn test + - name: coverage test + run: yarn jest --coverage + - uses: coverallsapp/github-action@v1.1.2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}