
Schule für Gestaltung Zürich
There will be live-coding...
npm init
.travis.yml im Hauptverzeichnis genügtlanguage: node_js
node_js: stable
install:
- npm ci
script:
- npm run build
deploy:
provider: pages
local-dir: ./dist
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master
install: - npm ci
oder auch
install: - npm install
script: - npm run build
deploy:
provider: pages
local-dir: ./dist
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master
language: node_js
node_js: stable
install:
- npm ci
script:
- npm run build
deploy:
provider: pages
local-dir: ./dist
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"scripts": {
"test": "sh test.sh",
},
#!/bin/sh
if grep "{swear word}" deck.mdx
then
# code if found
exit 1
else
# code if not found
exit 0
fi
language: node_js
node_js: stable
install:
- npm ci
- npm test
script:
- npm run build
deploy:
provider: pages
local-dir: ./dist
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master