mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-17 14:07:34 +03:00
Making APM work on dev builds
This commit is contained in:
parent
acdb2fc35b
commit
ef17344c6e
5
.github/workflows/package-tests-linux.yml
vendored
5
.github/workflows/package-tests-linux.yml
vendored
@ -2,6 +2,8 @@ name: Package tests for Pulsar on Linux
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
env:
|
||||
APM_PATH: ./apm/node_modules/atom-package-manager/bin/apm
|
||||
jobs:
|
||||
setup:
|
||||
name: setup
|
||||
@ -27,6 +29,9 @@ jobs:
|
||||
- name: build dependencies
|
||||
run: yarn build
|
||||
|
||||
- name: build dependencies
|
||||
run: yarn build:apm
|
||||
|
||||
- name: cache node module
|
||||
id: cache-node
|
||||
uses: actions/cache@v3
|
||||
|
@ -190,7 +190,7 @@ module.exports = class PackageManager {
|
||||
// Return a {String} file path to apm.
|
||||
getApmPath() {
|
||||
const configPath = atom.config.get('core.apmPath');
|
||||
if (configPath || this.apmPath) {
|
||||
if (process.env.APM_PATH || configPath || this.apmPath) {
|
||||
return configPath || this.apmPath;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user