diff --git a/.github/workflows/bundlewatch.yml b/.github/workflows/bundlewatch.yml index 5d09efcd1..d8f841177 100644 --- a/.github/workflows/bundlewatch.yml +++ b/.github/workflows/bundlewatch.yml @@ -25,7 +25,9 @@ jobs: node-version: "${{ env.NODE }}" - name: Install PNPM - run: npm i -g pnpm + uses: pnpm/action-setup@v2 + with: + version: 7 - name: Set up Bundler uses: ruby/setup-ruby@v1 diff --git a/.github/workflows/lockfiles.yaml b/.github/workflows/lockfiles.yaml index d8eb5d9b5..8528599d7 100644 --- a/.github/workflows/lockfiles.yaml +++ b/.github/workflows/lockfiles.yaml @@ -1,26 +1,25 @@ name: Changed lock files on: - pull_request: null - push: - branches: - - main - - dev + pull_request: null + push: + branches: + - main + - dev permissions: - pull-requests: read + pull-requests: read jobs: - lockfiles: - runs-on: ubuntu-latest - name: Verify lock file integrity - steps: + lockfiles: + runs-on: ubuntu-latest + name: Verify lock file integrity + steps: + - name: Clone Tabler + uses: actions/checkout@v2 - - name: Clone Tabler - uses: actions/checkout@v2 - - - name: Prevent lock file change - uses: xalvarez/prevent-file-change-action@v1 - with: - githubToken: ${{ secrets.GITHUB_TOKEN }} - pattern: Gemfile.lock|pnpm-lock.json - trustedAuthors: codecalm, dependabot + - name: Prevent lock file change + uses: xalvarez/prevent-file-change-action@v1 + with: + githubToken: ${{ secrets.GITHUB_TOKEN }} + pattern: Gemfile.lock|pnpm-lock.json + trustedAuthors: codecalm, dependabot diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 132e263df..af55ac304 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,8 +20,13 @@ jobs: with: node-version: 18 + - name: Install PNPM + uses: pnpm/action-setup@v2 + with: + version: 7 + - name: Install Dependencies - run: pnpm + run: pnpm install - name: Creating .npmrc run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index aa7827c71..19f293268 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,9 @@ jobs: cache: pnpm - name: Install PNPM - run: npm i -g pnpm + uses: pnpm/action-setup@v2 + with: + version: 7 - name: Set up Ruby uses: ruby/setup-ruby@v1