generated from gxc-solutions/gxc-template-repo
This commit is contained in:
parent
a100988848
commit
4b108d5a85
2 changed files with 12 additions and 4 deletions
|
|
@ -13,12 +13,16 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
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
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,16 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue