diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index d35a7d07..08ad2a30 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -1,18 +1,16 @@ -name: Checks +name: Lint Checks on: [push] jobs: ci: - name: Lint using rome + name: Lint using biome runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - with: - fetch-depth: 1 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: Installing dependencies - run: yarn install --frozen-lockfile - - name: Lint rome - run: yarn rome ci . + - name: Checkout code + uses: actions/checkout@v3 + - name: Setup Node.js and pnpm + uses: wyvox/action-setup-pnpm@v3 + with: + node-version: '18' + - name: Lint biome + run: pnpm biome ci . diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10870645..4f6125a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,19 +15,16 @@ jobs: - name: Checkout Repo uses: actions/checkout@v2 - - name: Setup Node.js 18.x - uses: actions/setup-node@v2 + - name: Setup Node.js and pnpm + uses: wyvox/action-setup-pnpm@v3 with: - node-version: 18.x + node-version: '18' - - name: Install Dependencies - run: yarn - - - name: Create Release Pull Request or Trigger Publish Workflow + - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: - publish: yarn release + publish: pnpm release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}