diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 19749a1..981e035 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,11 +20,11 @@ jobs: with: node-version: '20' - name: Install dependencies - run: npm ci + run: yarn install --frozen-lockfile - name: Lint code - run: npm run lint + run: yarn lint - name: Build library code - run: npm run build + run: yarn build check-versioning: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e51fa96..2574a33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,11 @@ jobs: registry-url: 'https://registry.npmjs.org/' scope: '@wertarbyte' - name: Install dependencies - run: npm ci + run: yarn install --frozen-lockfile - name: Lint code - run: npm run lint + run: yarn lint - name: Build library code - run: npm run build + run: yarn build - name: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}