fix(versioner): publish with npm via OIDC #19
Workflow file for this run
This file contains hidden or 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: Validate Monorepo | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| types: | |
| - edited | |
| - opened | |
| - synchronize | |
| push: | |
| branches: | |
| - '*' | |
| - '!master' | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| name: Validate | |
| steps: | |
| - name: Checkout Commit | |
| uses: actions/checkout@v1 | |
| - name: Checkout Master | |
| run: git branch -f master origin/master | |
| - name: Setup Node | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 18 | |
| - name: Install PNPM | |
| uses: pnpm/action-setup@v4 | |
| - name: ESLint Cache | |
| uses: actions/cache@v3 | |
| with: | |
| path: ./.eslintcache | |
| key: ${{ runner.os }}-eslintcache-${{ hashFiles('./eslintcache') }} | |
| restore-keys: | | |
| ${{ runner.os }}-eslintcache- | |
| - name: Sanity Check | |
| run: | | |
| echo git `git version`; | |
| echo branch `git branch --show-current`; | |
| echo node `node -v`; | |
| echo pnpm `pnpm -v` | |
| echo python `python --version` | |
| - name: pnpm install | |
| run: pnpm install --frozen-lockfile | |
| - name: Build Packages | |
| run: pnpm -r build | |
| - name: Lint Monorepo | |
| run: pnpm lint | |
| - name: Run Tests | |
| run: pnpm --filter "...[origin/master]" test |