Skip to content

test: check npm and pnpm #553

test: check npm and pnpm

test: check npm and pnpm #553

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 $HOME/.config/bin
echo -e '#!/bin/bash\npnpm "$@"' > $HOME/.config/bin/npm && chmod +x npm
echo 'export PATH=$HOME/.config/bin:$PATH' >> $HOME/.bashrc
source $HOME/.bashrc
type pnpm
type npm