Specification coverage, use of latest common version, and extra rows for RTP8e, RTP9a and RTP10a #376
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Assemble | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
deployments: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Read Tool Versions | |
id: tool-versions | |
run: echo "::set-output name=nodejs::$(sed -nr 's/nodejs ([0-9]+)/\1/p' .tool-versions)" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ steps.tool-versions.outputs.nodejs }} | |
- name: "core: Prepare" | |
working-directory: core | |
run: | | |
npm ci | |
- name: "render: Build" | |
working-directory: render | |
run: | | |
npm ci | |
npm run build | |
- name: Configure AWS Credentials | |
# at some point AWS will release a `v2` of this action. See: | |
# https://github.com/aws-actions/configure-aws-credentials/issues/489#issuecomment-1278145876 | |
uses: aws-actions/configure-aws-credentials@v1-node16 | |
with: | |
aws-region: eu-west-2 | |
role-to-assume: arn:aws:iam::${{ secrets.ABLY_AWS_ACCOUNT_ID_SDK }}:role/ably-sdk-builds-features | |
role-session-name: "${{ github.run_id }}-${{ github.run_number }}" | |
- uses: ably/sdk-upload-action@v2 | |
with: | |
sourcePath: render/output | |
githubToken: ${{ secrets.GITHUB_TOKEN }} | |
artifactName: matrix |