Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
chore(.github): update from alwatr org
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Nov 9, 2023
1 parent b52c4b3 commit 46b7509
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 82 deletions.
44 changes: 0 additions & 44 deletions .github/ISSUE_TEMPLATE/1-bug-report.md

This file was deleted.

23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/2-feature-request.md

This file was deleted.

9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/pull_request_template.md

This file was deleted.

19 changes: 16 additions & 3 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,22 @@ jobs:
- name: 🏗 Setup nodejs
uses: actions/[email protected]
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/[email protected]
# 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
Expand Down

0 comments on commit 46b7509

Please sign in to comment.