ci: fix using npm run build-wasm
Newer npm seems to invoke the command without the current user privileges. However, Go already initializes its cache using root. Change-Id: I23b32ca3bbd7db06515c2af86b1bb5adc8e38a8f
This commit is contained in:
parent
c54bcd63a1
commit
8f4550d621
@ -94,7 +94,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
dir('web/satellite') {
|
dir('web/satellite') {
|
||||||
sh 'npm ci --prefer-offline --no-audit'
|
sh 'npm ci --prefer-offline --no-audit'
|
||||||
sh 'npm run wasm-dev'
|
sh './scripts/build-wasm.sh'
|
||||||
sh 'npm run build'
|
sh 'npm run build'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,15 @@ const projectsApi = new ProjectsApiMock();
|
|||||||
projectsApi.setMockLimits(projectLimits);
|
projectsApi.setMockLimits(projectLimits);
|
||||||
const projectsModule = makeProjectsModule(projectsApi);
|
const projectsModule = makeProjectsModule(projectsApi);
|
||||||
|
|
||||||
const store = new Vuex.Store({ modules: { projectsModule }});
|
const store = new Vuex.Store({
|
||||||
|
modules: {
|
||||||
|
projectsModule,
|
||||||
|
usersModule: {
|
||||||
|
state: {
|
||||||
|
user: { paidTier: false },
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}});
|
||||||
const project = new Project('id', 'test', 'test', 'test', 'ownedId', false);
|
const project = new Project('id', 'test', 'test', 'test', 'ownedId', false);
|
||||||
|
|
||||||
describe('EditProjectDetails.vue', () => {
|
describe('EditProjectDetails.vue', () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user