Ensure error types are exposed to users #254
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: Build and test the aws jslib against a Localstack instance | |
on: | |
# Enables running the workflow manually from the Actions tab | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install npm packages | |
run: npm install | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.22.x | |
- name: Install k6 | |
run: go install go.k6.io/k6@latest | |
- name: Build the docker-compose stack | |
uses: hoverkraft-tech/[email protected] | |
with: | |
up-flags: "-d" | |
down-flags: "-v" | |
- name: Wait for the localstack scripts to have been applied | |
run: sleep 30 | |
- name: Test | |
run: npm run test:ci |