Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/manual_public_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
BRANCH: main
ENVIRONMENT: public_release
secrets:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
SLACK_WEB_HOOK: ${{ secrets.SLACK_WEB_HOOK }}
G_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APP_ID: ${{ secrets.APP_ID }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
jobs:
get-version:
if: ${{ (github.event.label.name == vars.E2E_LABEL) || (github.event.label.name == vars.PUBLISH_AND_E2E_LABEL) }}
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-large
outputs:
branch: ${{ steps.extractBranch.outputs.branch }}
version: ${{ steps.alphaVersion.outputs.version }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
with:
node-version: '22'
- name: Extract branch name
Expand Down Expand Up @@ -69,9 +69,9 @@ jobs:
remove-label-on-failure:
needs: e2e-test
if: always()
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-large
steps:
- uses: actions-ecosystem/action-remove-labels@v1
- uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1
if: needs.e2e-test.result != 'success'
with:
labels: ${{ github.event.label.name }}
14 changes: 7 additions & 7 deletions .github/workflows/pr_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ on:

jobs:
build-and-test:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-large
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
with:
node-version: '22'
- name: Install project dependencies
Expand All @@ -41,9 +41,9 @@ jobs:
CI: ""
- name: Build packages
run: npm run build
- name: Codecov report
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
# - name: Codecov report
# uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}


2 changes: 1 addition & 1 deletion .github/workflows/skip_pr_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
build-and-test:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-large
steps:
- run: echo "Test execution not required. Passing status check"
release-alpha-version:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/skip_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ on:

jobs:
publish:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-large
steps:
- run: echo "Skip Publish, Passing status check"
4 changes: 2 additions & 2 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ on:

jobs:
tag:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-large
steps:
- name: wait-job
run: sleep 10s
shell: bash
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
ref: main
- name: Retrieve Version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/~reusable_e2e_all_OS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04, windows-latest, macos-latest ]
os: [ ubuntu-latest-large, windows-latest-large, macos-latest-large ]
uses: ./.github/workflows/~reusable_e2e_by_OS.yaml
with:
OS: ${{ matrix.os }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/~reusable_e2e_by_OS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ jobs:
node:
runs-on: ${{ inputs.OS }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
with:
node-version: ${{ inputs.NODE_VERSION }}
- name: Override localhost to IPv4 in Linux for Node 18
Expand Down Expand Up @@ -177,19 +177,19 @@ jobs:
cd packages/flex-plugin-e2e-tests
npm run start
- name: Upload Screenshots
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
if: always()
with:
name: ${{ inputs.OS }}-screenshots
path: packages/flex-plugin-e2e-tests/screenshots

notify-failure:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-large
needs: node
if: ${{ always() && inputs.SEND_NOTIFICATION }}
steps:
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@33fa0808da52e41c8dcec3cc101c0027442ed173 # v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
SLACK_COLOR: ${{ needs.node.result }}
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/~reusable_public_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ on:
type: string
default: alpha_release
secrets:
NODE_AUTH_TOKEN:
required: true
SLACK_WEB_HOOK:
required: true
G_TOKEN:
Expand All @@ -34,14 +32,17 @@ jobs:
publish:
runs-on: ubuntu-22.04
environment: ${{ inputs.ENVIRONMENT }}
permissions:
id-token: write # Required for OIDC authentication to npm
contents: write # Required for git operations
steps:
- uses: actions/create-github-app-token@v3
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
id: get_app_token
with:
client-id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_KEY }}
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
Expand All @@ -52,7 +53,7 @@ jobs:
timeout 10m npm ci --verbose && break || echo "npm ci failed, retrying ($i/3)..."
done
- name: Slack Started Notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@33fa0808da52e41c8dcec3cc101c0027442ed173 # v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
SLACK_COLOR: ${{ job.status }}
Expand All @@ -71,14 +72,14 @@ jobs:
BRANCH: ${{ inputs.BRANCH }}
NODE_OPTIONS: --no-experimental-fetch
CI: ''
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
# OIDC authentication - no NODE_AUTH_TOKEN needed for public npm registry
- name: Retrieve Version
id: publicVersion
run: |
echo "version=$(awk '/version/{gsub(/("|",)/,"",$2);print $2}' lerna.json)"
echo "version=$(awk '/version/{gsub(/("|",)/,"",$2);print $2}' lerna.json)" >> "$GITHUB_OUTPUT"
- name: Slack Completed Notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@33fa0808da52e41c8dcec3cc101c0027442ed173 # v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
SLACK_COLOR: ${{ job.status }}
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/~reusable_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,19 @@ on:
type: string
default: alpha_release
secrets:
NODE_AUTH_TOKEN:
required: true
SLACK_WEB_HOOK:
required: true

jobs:
publish:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest-large
environment: ${{ inputs.ENVIRONMENT }}
permissions:
id-token: write # Required for OIDC authentication to npm
contents: read # Required for checkout
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
with:
node-version: "22"
registry-url: "https://registry.npmjs.org"
Expand All @@ -47,9 +48,9 @@ jobs:
BRANCH: ${{ inputs.BRANCH }}
NODE_OPTIONS: --no-experimental-fetch
CI: ""
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
# OIDC authentication - no NODE_AUTH_TOKEN needed for public npm registry
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
uses: rtCamp/action-slack-notify@33fa0808da52e41c8dcec3cc101c0027442ed173 # v2
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEB_HOOK }}
SLACK_COLOR: ${{ job.status }}
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
message=":bookmark: Release v%s"
registry=https://npmjs.artifacts.twilio.com/artifactory/api/npm/virtual-npm-thirdparty/
Loading