Merge pull request #117 from zhensherlock/dev #60
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: build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| if: github.repository == 'zhensherlock/vue-devtools-unlocker' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Install PNPM | |
| run: npm i pnpm@latest -g | |
| - name: Setup npmrc | |
| run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc | |
| - name: setup pnpm config | |
| run: pnpm config set store-dir $PNPM_CACHE_FOLDER | |
| - name: Install Package | |
| run: pnpm install | |
| - name: Build Package | |
| run: pnpm build | |
| # - name: Test Package | |
| # run: pnpm run test | |
| # - name: Upload coverage reports to Codecov | |
| # uses: codecov/codecov-action@v5 | |
| # with: | |
| # verbose: true | |
| # env: | |
| # CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |