Updated node version
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2023-02-27 08:39:14 +01:00
parent 1528a3649f
commit 323e467371
2 changed files with 5 additions and 12 deletions

8
Jenkinsfile vendored
View File

@ -31,8 +31,8 @@ pipeline {
NODE_ENV = ""
}
steps {
nodejs('node-v14') {
sh 'npm install -g @quasar/cli'
nodejs('node-v18') {
// sh 'npm install -g @quasar/cli'
sh 'npm install --no-audit --prefer-offline'
}
}
@ -48,7 +48,7 @@ pipeline {
parallel {
stage('Frontend') {
steps {
nodejs('node-v14') {
nodejs('node-v18') {
sh 'npm run test:unit:ci'
}
}
@ -64,7 +64,7 @@ pipeline {
CREDENTIALS = credentials('docker-registry')
}
steps {
nodejs('node-v14') {
nodejs('node-v18') {
sh 'quasar build'
}
dockerBuild()

View File

@ -1,4 +1,4 @@
import { onMounted, onUnmounted, ref } from 'vue';
import { onMounted, ref } from 'vue';
import { useRouter, useRoute } from 'vue-router';
import axios from 'axios';
import { useArrayDataStore } from 'stores/useArrayDataStore';
@ -34,13 +34,6 @@ export function useArrayData(key, userOptions) {
}
});
onUnmounted(() => {
// if (arrayDataStore.get(key)) {
// arrayDataStore.clear(key);
// }
// do stuff
});
async function fetch({ append = false }) {
if (!store.url) return;