fix: cleanup url search params when there is no node selected #5
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: Production | |
on: | |
push: | |
branches: | |
- "main" | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: yarn | |
- run: yarn lint | |
- run: yarn test | |
deploy: | |
runs-on: ubuntu-latest | |
needs: test | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- run: yarn | |
- run: yarn build | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: eu-north-1 | |
- name: Upload assets | |
run: aws s3 sync dist/ s3://$S3_BUCKET_NAME/ --acl public-read --cache-control no-cache | |
env: | |
S3_BUCKET_NAME: ${{ secrets.AWS_S3_BUCKET }} |