diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2de3317..dd8c6c1 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -13,7 +13,7 @@ jobs: with: node-version: '16.x' registry-url: 'https://registry.npmjs.org' - - run: npm ci - - run: npm publish + - run: yarn install --frozen-lockfile + - run: yarn publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 804f28a..822f1d2 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -7,11 +7,14 @@ jobs: run-tests: name: Run Tests runs-on: ubuntu-latest + strategy: + matrix: + node-version: [14, 16, 18] steps: - uses: actions/checkout@v2 - name: Install modules working-directory: ./ - run: npm ci + run: yarn install --frozen-lockfile - name: Run Tests working-directory: ./ - run: npm run test + run: yarn test