Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
a1b8fe9
chore: prepare plugin for release
vCaisim Apr 10, 2023
63c06e8
fix: add missing workflow env vars
vCaisim Apr 10, 2023
7210d10
Update deploy.yaml
vitaliimelnychuk Apr 10, 2023
c872b1d
Update deploy.yaml
vitaliimelnychuk Apr 10, 2023
2595389
feat: refactor file template
vitaliimelnychuk Apr 10, 2023
155ca34
fix: remove prefix
vitaliimelnychuk Apr 10, 2023
91286e8
fix: prefiux
vitaliimelnychuk Apr 10, 2023
35a9e2f
fix: checkout to app dir
vitaliimelnychuk Apr 10, 2023
e2268ee
fix: use official aws commands to upload
vitaliimelnychuk Apr 10, 2023
de47c9c
chore: deployment
vitaliimelnychuk Apr 10, 2023
01a0bc9
fix: use aws v2
vitaliimelnychuk Apr 10, 2023
ea86ca6
fix: set region
vitaliimelnychuk Apr 10, 2023
723f8a1
feat: set environment
vitaliimelnychuk Apr 10, 2023
6f7dfbd
feat: remove PR trigger
vitaliimelnychuk Apr 10, 2023
395e5f4
feat: add ci workflow
vitaliimelnychuk Apr 10, 2023
7e25706
refactor: rename from @currents/cypress-debugger to cypress-debugger
vCaisim Apr 11, 2023
9ccb842
versioning
vCaisim Apr 11, 2023
49344e7
docs: update CONTRIBUTE.md
vCaisim Apr 11, 2023
8c229b5
chore: reformat contribute
agoldis Apr 13, 2023
ccc6464
chore: testing release
agoldis Apr 13, 2023
c3b4577
chore: make plugin pacakges public
agoldis Apr 13, 2023
a7e2efb
chore: ..
agoldis Apr 13, 2023
b12de13
chore: ..
agoldis Apr 13, 2023
109e0ca
1.0.2
agoldis Apr 13, 2023
79d984f
chore: revert version changes
agoldis Apr 13, 2023
b24f6a9
chore: add lint & format scripts
vCaisim Apr 13, 2023
a41b3ed
trigger ci
vCaisim Apr 13, 2023
dcf88b7
Feat/release andrew (#35)
agoldis Apr 13, 2023
62f20dc
fix: build
vCaisim Apr 14, 2023
139520c
fix: allow empty har field (#37)
vCaisim Apr 25, 2023
bcb2401
Feat/use tailwind (#38)
vCaisim Apr 25, 2023
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy

on:
push:
branches:
- main
pull_request:
branches: [main]

jobs:
build:
if: "!contains(toJSON(github.event.commits.*.message), '[skip ci]')"
runs-on: ubuntu-latest
environment: Production

steps:
- name: Checkout source code
uses: actions/checkout@v3
with:
node-version: "16"

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Deploy dashboard to bucket
run: aws s3 sync ./apps/web/dist s3://${{ secrets.S3_BUCKET }}

- name: Invalidate dashboard cloudfront
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous action didn't work well, here is the issue from there: Reggionick/s3-deploy#63

33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,36 @@ Attaches required handlers to [Cypress events](https://docs.cypress.io/api/cypre
```ts
debuggerSupport(): void
```

## Releasing

### Beta channel

```sh
cd packages/cypress-debugger
npm run release -- --preRelease=beta && npm run release:npm -- -t beta
```

### Latest channel

```sh
cd packages/cypress-debugger
npm run release && npm run release:npm -- -t latest
```

### Localhost

Publishing from `packages/cypress-debugger`:

```sh
docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio
npm adduser --registry http://localhost:4873
npm login --registry http://localhost:4873
npm_config_registry=http://localhost:4873 npm run release:npm -- --tag latest
```

Using:

```sh
npm install cypress-debugger --registry http://localhost:4873
```
Loading