forked from xcv58/Custom-JavaScript-for-Websites-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 624 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: node_js
cache: yarn
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.1.0
- export PATH="$HOME/.yarn/bin:$PATH"
node_js:
- "15"
script:
- yarn test
- yarn deploy
- ls -l build/* build.zip
- sha256sum build.zip | tee SHA256SUMS.txt
- find build -type f -exec ls {} \; | sort -f | xargs sha256sum | tee -a SHA256SUMS.txt
- find build -type f -exec ls {} \; | sort -f | xargs cat | sha256sum | tee -a SHA256SUMS.txt
deploy:
provider: releases
api_key: $GITHUB_OAUTH_TOKEN
file:
- build.zip
- SHA256SUMS.txt
skip_cleanup: true
on:
tags: true