Skip to content

Commit

Permalink
Fix CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
ServerlessLife committed Apr 21, 2024
1 parent f02ec3f commit ddd88cd
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

permissions:
id-token: write
contents: read
contents: write

jobs:
build:
Expand Down Expand Up @@ -47,33 +47,33 @@ jobs:
name: dist
path: dist

test-cdk-simple:
needs:
- build
runs-on: ubuntu-latest
concurrency:
group: lldebugger
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: npm ci
- uses: actions/download-artifact@v4
with:
name: dist
path: dist
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: eu-west-1
role-to-assume: ${{ secrets.AWS_ROLE }}
role-session-name: GitHubActions
- name: Test
run: npx vitest test/cdk-simple.test.ts
# test-cdk-simple:
# needs:
# - build
# runs-on: ubuntu-latest
# concurrency:
# group: lldebugger
# steps:
# - uses: actions/checkout@v4
# - name: Use Node.js
# uses: actions/setup-node@v4
# with:
# node-version: "20"
# registry-url: "https://registry.npmjs.org"
# - name: Install dependencies
# run: npm ci
# - uses: actions/download-artifact@v4
# with:
# name: dist
# path: dist
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v4
# with:
# aws-region: eu-west-1
# role-to-assume: ${{ secrets.AWS_ROLE }}
# role-session-name: GitHubActions
# - name: Test
# run: npx vitest test/cdk-simple.test.ts

publish:
needs:
Expand Down

0 comments on commit ddd88cd

Please sign in to comment.