diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e4ed8dc..f76c55cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,6 +79,16 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true + - uses: pnpm/action-setup@v4 + + - uses: actions/setup-node@v6 + with: + node-version: "24" + cache: "pnpm" + + - name: Pnpm install + run: pnpm install + - name: Tests env: TESTOPTS: --verbose diff --git a/.gitignore b/.gitignore index 112d8f88..b6beeeb0 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,5 @@ test/tmp test/version_tmp tmp *.swp -.rubocop-https---raw-githubusercontent-com-discourse-discourse-master--rubocop-yml .byebug_history node_modules/ -yarn.lock diff --git a/DEV.md b/DEV.md deleted file mode 100644 index 6440f763..00000000 --- a/DEV.md +++ /dev/null @@ -1,7 +0,0 @@ -### How to Publish to NPM - -1. First, edit `package.json` and bump the version. - -2. Log in to npm `yarn login` - -3. Publish: `yarn publish` diff --git a/Rakefile b/Rakefile index 384510f7..da348e92 100644 --- a/Rakefile +++ b/Rakefile @@ -35,7 +35,7 @@ end namespace :jasmine do desc "Run Jasmine tests in headless mode" task 'ci' do - if !system("npx jasmine-browser-runner runSpecs") + if !system("pnpm jasmine-browser-runner runSpecs") exit 1 end end