chore(release): π v0.1.0-alpha.13 π #8
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: tests:node-support | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' # stable e.g. v0.1.0 | |
| workflow_dispatch: # manual trigger | |
| jobs: | |
| test: | |
| name: π§ͺ Node Support Tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [22.12.0] | |
| steps: | |
| - name: π₯ Checkout code | |
| uses: actions/checkout@v4 | |
| - name: π’ Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.10.0 | |
| - name: Get pnpm store directory | |
| shell: bash | |
| run: | | |
| echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | |
| - name: Setup pnpm cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ env.STORE_PATH }} | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
| - name: Install dependencies | |
| run: pnpm i | |
| - name: Install Playwright browsers | |
| run: pnpm exec playwright install | |
| - name: π§ Install n version manager | |
| run: | | |
| npm install -g n | |
| # Set N_PREFIX to a directory we can write to | |
| echo "N_PREFIX=$HOME/.n" >> $GITHUB_ENV | |
| export N_PREFIX=$HOME/.n | |
| mkdir -p $HOME/.n | |
| - name: π§ Install xyd-js globally via bun | |
| run: | | |
| # Install bun | |
| curl -fsSL https://bun.com/install | bash -s "bun-v1.2.20" | |
| export BUN_INSTALL="$HOME/.bun" | |
| export PATH="$BUN_INSTALL/bin:$PATH" | |
| # Install xyd-js globally | |
| bun add -g xyd-js | |
| - name: π§ͺ Run Node Support tests | |
| run: pnpm run test:node-support |