Skip to content

Bump @types/node from 20.5.3 to 20.5.4 #142

Bump @types/node from 20.5.3 to 20.5.4

Bump @types/node from 20.5.3 to 20.5.4 #142

Workflow file for this run

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
npm install
- run: |
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
matrix:
roleToken:
- rg_oidc_akr_m17rp5g5mz25rvkctys6
gem-server:
- 'https://rubygems.org'
include:
- roleToken: rg_oidc_akr_f55fe1127adjkkcn8ty6 # Actions Test, all repos, 15min, push rubygem
gem-server: 'https://oidc-api-token.rubygems.org'
- roleToken: rg_oidc_akr_y6txf9nm3c4kttxgnsgg
gem-server: 'https://staging.rubygems.org'
steps:
- uses: actions/checkout@v3
- uses: ./
with:
role-to-assume: '${{ matrix.roleToken }}'
gem-server: '${{ matrix.gem-server }}'
- name: Test token
run: |
curl -v --fail '${{ matrix.gem-server }}/api/v1/oidc/api_key_roles/${{ matrix.roleToken }}' -H 'Authorization: ${{ env.RUBYGEMS_API_KEY }}'
test-all:
needs: test
runs-on: ubuntu-latest
steps:
- run: |
true