Skip to content

Commit

Permalink
Update gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Apr 1, 2024
1 parent 4b2ab39 commit ebdc46a
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 72 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/codeql.yml

This file was deleted.

15 changes: 9 additions & 6 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@ jobs:
contents: write

steps:
- uses: actions/checkout@v3
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v3

- name: Setup Node.js environment
uses: actions/setup-node@v3
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20.x
cache: pnpm

- name: Install dependencies
Expand All @@ -31,7 +34,7 @@ jobs:
run: pnpm run format

- name: Add, Commit and Push
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'Format'
# should match the file pattern in the format script
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release-ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v3

- name: Setup Node.js 18.x
uses: actions/setup-node@v3
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20.x
cache: pnpm

- name: Install Dependencies
run: pnpm install --ignore-scripts

- name: Cache turbo build setup
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules/.cache/turbo
key: turbo-${{ github.sha }}
Expand All @@ -38,7 +38,7 @@ jobs:
CI: true

- name: Submit Chrome Extension
uses: mnao305/chrome-extension-upload@v4.0.1
uses: mnao305/chrome-extension-upload@v5
with:
file-path: packages/extension/dist/chrome.zip
extension-id: kmcfjchnmmaeeagadbhoofajiopoceel
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v3

- name: Setup Node.js 18.x
uses: actions/setup-node@v3
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20.x
cache: pnpm

- name: Install Dependencies
run: pnpm install --no-frozen-lockfile --ignore-scripts

- name: Cache turbo build setup
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules/.cache/turbo
key: turbo-${{ github.sha }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v3

- name: Setup Node.js environment 18.x
uses: actions/setup-node@v3
- name: Setup Node.js 20
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20.x
cache: pnpm

- name: Install dependencies
run: pnpm install --no-frozen-lockfile --ignore-scripts

- name: Cache turbo build setup
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules/.cache/turbo
key: turbo-${{ github.sha }}
Expand All @@ -51,7 +51,7 @@ jobs:
env:
CI: true

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down

0 comments on commit ebdc46a

Please sign in to comment.