From 05eaa8d3e05eb05642faa63157f6343d034c160a Mon Sep 17 00:00:00 2001 From: Krishan <33421343+kfiven@users.noreply.github.com> Date: Wed, 23 Mar 2022 19:40:39 +0530 Subject: [PATCH] General fix and consistency changes (#428) --- .github/ISSUE_TEMPLATE/bug_report.yml | 1 - .github/ISSUE_TEMPLATE/feature_request.yml | 1 - .github/workflows/build-pull-request.yml | 2 +- .github/workflows/deploy-pull-request.yml | 4 ++-- .github/workflows/netlify-dev.yaml | 10 ++++++---- .github/workflows/prod-deploy.yaml | 6 +++--- LICENSE | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 517d390..f3f6ef3 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,5 +1,4 @@ name: 🐞 Bug Report -title: '[bug] ' description: Report a bug labels: 'type: bug' diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index d45af20..7026f95 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,5 +1,4 @@ name: 💡 Feature Request -title: '[feat] ' description: Suggest an idea labels: 'type: feature' diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index dbc7222..71c7851 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -10,7 +10,7 @@ jobs: env: PR_NUMBER: ${{github.event.number}} steps: - - name: Check out the repo + - name: Checkout repository uses: actions/checkout@v3.0.0 - name: Build app run: npm ci && npm run build diff --git a/.github/workflows/deploy-pull-request.yml b/.github/workflows/deploy-pull-request.yml index c30233e..6894bad 100644 --- a/.github/workflows/deploy-pull-request.yml +++ b/.github/workflows/deploy-pull-request.yml @@ -13,7 +13,7 @@ jobs: # There's a 'download artifact' action but it hasn't been updated for the # workflow_run action (https://github.com/actions/download-artifact/issues/60) # so instead we get this mess: - - name: 'Download artifact' + - name: Download artifact uses: actions/github-script@v6.0.0 with: script: | @@ -46,7 +46,7 @@ jobs: fs.writeFileSync('${{github.workspace}}/pr.json.zip', Buffer.from(download.data)); - name: Extract Artifacts run: unzip -d dist previewbuild.zip && rm previewbuild.zip && unzip pr.json.zip && rm pr.json.zip - - name: 'Read PR Info' + - name: Read PR Info id: readctx uses: actions/github-script@v6.0.0 with: diff --git a/.github/workflows/netlify-dev.yaml b/.github/workflows/netlify-dev.yaml index aa9dd41..d1100eb 100644 --- a/.github/workflows/netlify-dev.yaml +++ b/.github/workflows/netlify-dev.yaml @@ -6,13 +6,15 @@ on: - dev jobs: - deploy: + deploy-to-netlify: name: 'Deploy' runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3.0.0 - - uses: jsmrcaga/action-netlify-deploy@v1.7.2 + steps: + - name: Checkout repository + uses: actions/checkout@v3.0.0 + - name: Build and deploy to Netlify + uses: jsmrcaga/action-netlify-deploy@v1.7.2 with: install_command: "npm ci" NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} diff --git a/.github/workflows/prod-deploy.yaml b/.github/workflows/prod-deploy.yaml index 91e1449..ff0c6ab 100644 --- a/.github/workflows/prod-deploy.yaml +++ b/.github/workflows/prod-deploy.yaml @@ -9,7 +9,7 @@ jobs: name: 'Deploy to Netlify' runs-on: ubuntu-latest steps: - - name: Check out the repo + - name: Checkout repository uses: actions/checkout@v3.0.0 - name: Build and deploy to Netlify uses: jsmrcaga/action-netlify-deploy@v1.7.2 @@ -26,7 +26,7 @@ jobs: - name: Create tar.gz run: tar -czvf cinny-${{ steps.vars.outputs.tag }}.tar.gz dist - name: Upload tagged release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v0.1.14 with: files: | cinny-${{ steps.vars.outputs.tag }}.tar.gz @@ -35,7 +35,7 @@ jobs: name: Push Docker image to Docker Hub runs-on: ubuntu-latest steps: - - name: Check out the repo + - name: Checkout repository uses: actions/checkout@v3.0.0 - name: Login to Docker Hub uses: docker/login-action@v1.14.1 diff --git a/LICENSE b/LICENSE index 42d4c6c..fc63851 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Ajay Bura (ajbura) and other contributors +Copyright (c) 2021 Ajay Bura (ajbura) and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal