diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f5073bf..fb43428 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: node-version: 16.x - name: Install packages - run: npm ci + run: yarn --frozen-lockfile - name: Build project - run: npm run build + run: yarn build diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 664a23a..01b667f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,16 +20,16 @@ jobs: node-version: 16.x - name: Install packages - run: npm ci + run: yarn --frozen-lockfile - - name: lint:commit - run: npm run lint:commit -- --to "${{ github.sha }}" + - name: Commit linting + run: yarn lint:commit -- --to '${{ github.sha }}' - name: Next.js linting - run: npm run lint:next + run: yarn lint:next - name: Prettier linting - run: npm run lint:prettier + run: yarn lint:prettier - name: Stylelint linting - run: npm run lint:scss + run: yarn lint:scss diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6cc3be..44e2111 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,10 +19,10 @@ jobs: node-version: 16.x - name: Install packages - run: npm ci + run: yarn --frozen-lockfile - name: Release project - run: npm run release + run: yarn release env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}