-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(security): bump packages, remove shrinkwrap, add lockfile (#146)
* chore(security): bump packages, remove shrinkwrap, add lockfile * chore(cicd): fix ci workflow, linting, and various other changes
- Loading branch information
Showing
11 changed files
with
2,550 additions
and
3,643 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,35 @@ | ||
name: Test | ||
|
||
on: [push] | ||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
LOCALSTACK: 1 | ||
LOCALSTACK_URL: http://127.0.0.1:4566 | ||
services: | ||
localstack: | ||
image: localstack/localstack:0.11.6 | ||
image: localstack/localstack | ||
ports: | ||
- 4566:4566 | ||
env: | ||
SERVICES: dynamodb,s3 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v1 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 14 | ||
- run: npm i -g [email protected] | ||
- run: npm ci | ||
- run: npm run init-localstack | ||
- run: npm test | ||
node-version: 16 | ||
- name: Install Dependencies | ||
run: npm ci | ||
|
||
- name: Initialize Localstack | ||
run: npm run init-localstack | ||
|
||
- name: Run Tests | ||
run: npm test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -136,7 +136,7 @@ PUT /objects/:name/:env | |
#### Upload new asset | ||
|
||
```json5 | ||
POST /assets | ||
POST /cdn | ||
|
||
<binary-data> | ||
``` | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: "3.8" | ||
|
||
services: | ||
localstack: | ||
container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}" | ||
image: localstack/localstack | ||
ports: | ||
- "4566:4566" # LocalStack Gateway | ||
- "9999:8080" | ||
environment: | ||
- DEBUG=${DEBUG-} | ||
- SERVICES=dynamodb,s3 | ||
- DOCKER_HOST=unix:///var/run/docker.sock | ||
volumes: | ||
- "${TMPDIR:-/tmp/localstack}:/tmp/localstack" | ||
- "/var/run/docker.sock:/var/run/docker.sock" |
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
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
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
Oops, something went wrong.