diff --git a/.forgejo/workflows/checks.yml b/.forgejo/workflows/checks.yml index ca23127..56e5722 100644 --- a/.forgejo/workflows/checks.yml +++ b/.forgejo/workflows/checks.yml @@ -16,9 +16,13 @@ jobs: uses: actions/setup-node@v3 with: node-version: '20' + registry-url: ${{ vars.VERDACCIO_URL }} - 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 run: npm run prettier:check diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index 39ffe19..6bdf090 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -18,9 +18,13 @@ jobs: uses: actions/setup-node@v3 with: node-version: '20' + registry-url: ${{ vars.VERDACCIO_URL }} - 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 run: npm run prettier:check diff --git a/readme.md b/readme.md index e69de29..ae811f8 100644 --- a/readme.md +++ b/readme.md @@ -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 \ No newline at end of file