@ -0,0 +1,18 @@
|
|||||||
|
name: CI
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
Tests:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [8, 10, 12]
|
||||||
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
|
steps:
|
||||||
|
- run: git config --global core.autocrlf false
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- run: 'npm i && npm test'
|
||||||
|
env:
|
||||||
|
CI: true
|
@ -1,20 +0,0 @@
|
|||||||
language: node_js
|
|
||||||
node_js:
|
|
||||||
- "8"
|
|
||||||
- "10"
|
|
||||||
- "12"
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- BUILD_TIMEOUT=20000
|
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- xvfb
|
|
||||||
|
|
||||||
install:
|
|
||||||
- export DISPLAY=':99.0'
|
|
||||||
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
|
||||||
- npm ci || npm install
|
|
||||||
|
|
||||||
after_success: npm run codecov
|
|
@ -1,31 +0,0 @@
|
|||||||
# http://www.appveyor.com/docs/appveyor-yml
|
|
||||||
|
|
||||||
version: "{build}"
|
|
||||||
|
|
||||||
clone_depth: 10
|
|
||||||
|
|
||||||
init:
|
|
||||||
- git config --global core.autocrlf false
|
|
||||||
|
|
||||||
environment:
|
|
||||||
matrix:
|
|
||||||
- nodejs_version: 8
|
|
||||||
- nodejs_version: 10
|
|
||||||
- nodejs_version: 12
|
|
||||||
|
|
||||||
install:
|
|
||||||
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
|
|
||||||
- npm ci || npm install
|
|
||||||
|
|
||||||
build: off
|
|
||||||
|
|
||||||
test_script:
|
|
||||||
- node --version && npm --version
|
|
||||||
- npm test
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
fast_finish: false
|
|
||||||
|
|
||||||
# cache:
|
|
||||||
# - C:\Users\appveyor\AppData\Roaming\npm-cache -> package.json # npm cache
|
|
||||||
# - node_modules -> package.json # local npm modules
|
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 5.7 KiB |
Before Width: | Height: | Size: 9.0 KiB After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 111 KiB |
@ -0,0 +1 @@
|
|||||||
|
.-foo.svelte-xyz{color:red}[title='['].svelte-xyz{color:blue}
|
@ -0,0 +1,12 @@
|
|||||||
|
<div class='-foo'>foo</div>
|
||||||
|
|
||||||
|
<div title='['>bar</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.-foo {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
[title='['] {
|
||||||
|
color: blue;
|
||||||
|
}
|
||||||
|
</style>
|
@ -1,4 +1,7 @@
|
|||||||
export default {
|
export default {
|
||||||
|
compileOptions: {
|
||||||
|
dev: true
|
||||||
|
},
|
||||||
props: { foo: 'foo' },
|
props: { foo: 'foo' },
|
||||||
html: `<div>foo @ foo # foo</div>`,
|
html: `<div>foo @ foo # foo</div>`,
|
||||||
};
|
};
|