chore(deps): update dependency typedoc to v0.26.6 #431
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
permissions: | |
contents: write | |
issues: write | |
pages: write | |
pull-requests: write | |
id-token: write | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
architecture: x64 | |
- name: Git checkout for source code analysis | |
uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: | | |
npm ci | |
- name: Cache Node.js modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} | |
- name: Run unit tests | |
run: | | |
npm run lint | |
npm run test:ci | |
- name: Build | |
if: github.ref == 'refs/heads/main' | |
run: | | |
npm run build | |
- name: Cache dist folder | |
uses: actions/cache@v3 | |
with: | |
path: dist | |
key: company-id-validation-dist-${{ github.run_id }} | |
release: | |
uses: RedFroggy/company-id-validator/.github/workflows/release.yml@main | |
secrets: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
needs: build | |
pages: | |
needs: release | |
uses: RedFroggy/company-id-validator/.github/workflows/pages.yml@main | |