This commit is contained in:
parent
85c15b3dad
commit
7b8709d7d8
3 changed files with 17 additions and 2 deletions
|
|
@ -16,9 +16,13 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
registry-url: ${{ vars.VERDACCIO_URL }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci --registry ${{ vars.VERDACCIO_URL }}
|
||||||
|
env:
|
||||||
|
VERDACCIO_URL: ${{ vars.VERDACCIO_URL }}
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
||||||
|
|
||||||
- name: Prettier
|
- name: Prettier
|
||||||
run: npm run prettier:check
|
run: npm run prettier:check
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,13 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
|
registry-url: ${{ vars.VERDACCIO_URL }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci --registry ${{ vars.VERDACCIO_URL }}
|
||||||
|
env:
|
||||||
|
VERDACCIO_URL: ${{ vars.VERDACCIO_URL }}
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}
|
||||||
|
|
||||||
- name: Prettier
|
- name: Prettier
|
||||||
run: npm run prettier:check
|
run: npm run prettier:check
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
# Descriptions
|
||||||
|
|
||||||
|
This template repo for libraries on Type Script.
|
||||||
|
|
||||||
|
Repository include:
|
||||||
|
- Base checks of code (prettier, eslint, husky)
|
||||||
|
- Base Forgejo CI/CD workflows
|
||||||
Loading…
Add table
Add a link
Reference in a new issue