General fix and consistency changes (#428)

This commit is contained in:
Krishan 2022-03-23 19:40:39 +05:30 committed by GitHub
parent a32ffdf6d4
commit 05eaa8d3e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 13 deletions

View file

@ -1,5 +1,4 @@
name: 🐞 Bug Report
title: '[bug] '
description: Report a bug
labels: 'type: bug'

View file

@ -1,5 +1,4 @@
name: 💡 Feature Request
title: '[feat] '
description: Suggest an idea
labels: 'type: feature'

View file

@ -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

View file

@ -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:

View file

@ -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
- 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 }}

View file

@ -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

View file

@ -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