diff --git a/.github/ISSUE_TEMPLATE/1-bug-report.md b/.github/ISSUE_TEMPLATE/1-bug-report.md deleted file mode 100644 index 79d6003..0000000 --- a/.github/ISSUE_TEMPLATE/1-bug-report.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -name: 🐞 Bug report -about: File a bug/issue -title: '[BUG] ' -labels: 'bug-report' -assignees: 'njfamirm' ---- - -<!-- -Note: Please search to see if an issue already exists for the bug you encountered. ---> - -### Current Behavior - -<!-- A concise description of what you're experiencing. --> - -### Expected Behavior - -<!-- A concise description of what you expected to happen. --> - -### Steps To Reproduce - -<!-- -Example: steps to reproduce the behavior: -1. In this environment... -1. With this config... -1. Run '...' -1. See error... ---> - -### Environment - -<!-- -Example: -- OS: Ubuntu 20.04 -- Node: 13.14.0 -- npm: 7.6.3 ---> - -### Anything else - -<!-- -Links? References? Anything that will give us more context about the issue that you are encountering! ---> diff --git a/.github/ISSUE_TEMPLATE/2-feature-request.md b/.github/ISSUE_TEMPLATE/2-feature-request.md deleted file mode 100644 index 0a387f5..0000000 --- a/.github/ISSUE_TEMPLATE/2-feature-request.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: '💡 Feature request' -about: 'Request new features or options. Please search for existing issues first. Also see CONTRIBUTING.' -title: '[FR] <title>' -labels: 'feature-request' -assignees: 'njfamirm' ---- - -## Please Describe The Problem To Be Solved - -<!-- Please present a concise description of the problem to be addressed by this feature request. Please be clear what parts of the problem are considered to be in-scope and out-of-scope. --> - -## Suggest A Solution (Optional) - -<!-- -A concise description of your preferred solution. Things to address include: - - * Details of the technical implementation - * Tradeoffs made in design decisions - * Caveats and considerations for the future - -If there are multiple solutions, please present each one separately. Save comparisons for the very end.) ---> diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index fb027d7..0000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,9 +0,0 @@ -blank_issues_enabled: true -contact_links: - - name: Discussions - url: https://github.com/AliMD/alwatr/discussions - about: Please ask and answer questions here. - - - name: Contact up - url: 'https://t.me/AlwatrSupport' - about: Direct contact to Alwatr support team at Telegram. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index ab55d8b..0000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,3 +0,0 @@ -## Description - -<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. --> diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 7f7d551..f442818 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -29,9 +29,22 @@ jobs: - name: 🏗 Setup nodejs uses: actions/setup-node@v4.0.0 with: - node-version: ${{env.NODE_VERSION}} - registry-url: https://registry.npmjs.org/ - cache: yarn + node-version: ${{ env.NODE_VERSION }} + + - name: 🏗 Setup nodejs corepack + run: corepack enable + + - name: 🏗 Get yarn config + id: yarn_config + run: echo "cache_folder=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT + + - uses: actions/cache@v3.3.2 + # id: yarn_cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`) + with: + path: ${{ steps.yarn_config.outputs.cache_folder }} + key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- - name: 🏗 Install dependencies run: yarn install --immutable