CI config
This commit is contained in:
parent
e32ce3c12d
commit
5d4edeb543
2 changed files with 13 additions and 11 deletions
13
.woodpecker.yml
Normal file
13
.woodpecker.yml
Normal 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/
|
|
@ -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')
|
||||
})
|
||||
})
|
Loading…
Add table
Reference in a new issue