CI config

This commit is contained in:
Norman Köhring 2023-08-07 11:57:17 +02:00
parent e32ce3c12d
commit 5d4edeb543
2 changed files with 13 additions and 11 deletions

13
.woodpecker.yml Normal file
View file

@ -0,0 +1,13 @@
pipeline:
build:
image: node:18-alpine
commands:
- corepack enable
- yarn
- yarn build
- chmod -R a+rw /mnt
- rm -fR /mnt/dist
- cp -R dist /mnt/dist
volumes:
- /home/n/CI/pokemem:/mnt/

View file

@ -1,11 +0,0 @@
import { describe, it, expect } from 'vitest'
import { mount } from '@vue/test-utils'
import HelloWorld from '../HelloWorld.vue'
describe('HelloWorld', () => {
it('renders properly', () => {
const wrapper = mount(HelloWorld, { props: { msg: 'Hello Vitest' } })
expect(wrapper.text()).toContain('Hello Vitest')
})
})