mirror of
https://github.com/expo/expo-github-action.git
synced 2026-11-15 17:32:45 -10:00
chore: update release workflow actions (#239)
* chore: update release workflow actions * chore: update review workflow actions * chore: update test workflow actions
This commit is contained in:
1 parent
e289d93e11
commit
57dcabe749
3 files changed
+20
-20
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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: ./
|
||||
@@ -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
|
||||
@@ -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 }}`
|
||||
@@ -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 }}`
|
||||
@@ -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 }}`
|
||||
@@ -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: ./
|
||||
@@ -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 }}`
|
||||
|
||||
Reference in new issue
Block a user