Skip to content

test: check npm and pnpm #554

test: check npm and pnpm

test: check npm and pnpm #554

Workflow file for this run

name: CI
on:
pull_request:
branches: [main, beta]
types: [opened, synchronize]
jobs:
init:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/quickstart
- uses: wagoid/commitlint-github-action@v5
- run: |
type pnpm
type npm
echo $PATH
echo $GITHUB_PATH
cat $HOME/.bash_profile
cat $HOME/.bashrc
mkdir -p $GITHUB_WORKSPACE/kdnj/bin
echo -e '#!/bin/bash\npnpm "$@"' > $GITHUB_WORKSPACE/kdnj/bin/npm && \
chmod +x $GITHUB_WORKSPACE/kdnj/bin/npm
echo "$GITHUB_WORKSPACE/kdnj/bin" >> $GITHUB_PATH
type pnpm
type npm