This commit is contained in:
David Taylor 2023-11-27 15:21:02 +00:00
parent e30959c85a
commit 9f76c61ee6
No known key found for this signature in database
GPG Key ID: 46904C18B1D3F434
1 changed files with 8 additions and 8 deletions

View File

@ -26,13 +26,13 @@ jobs:
cd app/assets/javascripts/discourse
yarn install
- name: "Check ember version"
shell: cat {0} | node -
working-directory: app/assets/javascripts/discourse
run: |
console.log(process.cwd())
const version = require("ember-source/package.json").version;
console.log("Version is", version);
if(version.split(".")[0] !== 3){
console.log(`Ember has unexpectedly been upgraded to version ${version}. If this is intentional, remove this github workflow.`);
process.exit(1)
}
node -e '
const version = require("ember-source/package.json").version;
console.log("Ember version is", version);
if(version.split(".")[0] !== 3){
console.log(`Ember has unexpectedly been upgraded to version ${version}. If this is intentional, remove this github workflow.`);
process.exit(1);
}
'