Skip to content

Commit

Permalink
chore: update release workflow actions (#239)
Browse files Browse the repository at this point in the history
* chore: update release workflow actions

* chore: update review workflow actions

* chore: update test workflow actions
  • Loading branch information
byCedric authored Nov 21, 2023
1 parent e289d93 commit 57dcabe
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🏗 Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
cache: yarn

- name: 📦 Install dependencies
Expand All @@ -40,12 +40,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🏗 Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
cache: yarn

- name: 📦 Install dependencies
Expand All @@ -65,14 +65,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.EXPOBOT_GITHUB_TOKEN }}

- name: 🏗 Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 18.x
cache: yarn

- name: 👷 Force repo to latest
Expand All @@ -85,7 +85,7 @@ jobs:
run: yarn add --dev semver

- name: 🕵️ Resolve major version
uses: actions/github-script@v6
uses: actions/github-script@v7
id: version
with:
result-encoding: string
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
build:
strategy:
matrix:
node: [16.x]
node: [18.x]
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🏗 Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: yarn
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ${{ matrix.os }}-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🏗 Setup Expo
uses: ./
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🏗 Setup Node
uses: actions/setup-node@v3
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:

- name: 🧪 Comment has content
if: ${{ env.hasAuth == 'true' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const comment = `${{ steps.no-comment.outputs.comment }}`
Expand All @@ -130,7 +130,7 @@ jobs:

- name: 🧪 Single QR has content
if: ${{ env.hasAuth == 'true' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const comment = `${{ steps.single-qr.outputs.comment }}`
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:

- name: 🧪 Multi QR has content
if: ${{ env.hasAuth == 'true' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const comment = `${{ steps.multi-qr.outputs.comment }}`
Expand All @@ -173,7 +173,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🏗 Setup Expo
uses: ./
Expand All @@ -195,7 +195,7 @@ jobs:

- name: 🧪 Output has content
if: ${{ env.hasAuth == 'true' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const message = `${{ steps.preview.outputs.message }}`
Expand Down

0 comments on commit 57dcabe

Please sign in to comment.