reformat yml files

This commit is contained in:
nklhrstv 2021-11-03 09:11:09 +02:00
parent 55effdecb4
commit 24a0535e8e
3 changed files with 41 additions and 41 deletions

View file

@ -6,14 +6,14 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install NPM dependencies - name: Install NPM dependencies
run: npm install run: npm install
- name: Build - name: Build
run: npm run build run: npm run build
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: stremio-web name: stremio-web
path: build path: build

View file

@ -8,25 +8,25 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install NPM dependencies - name: Install NPM dependencies
run: npm install run: npm install
- name: Build - name: Build
run: npm run build run: npm run build
- name: Zip build artifact - name: Zip build artifact
run: zip -r stremio-web.zip ./build run: zip -r stremio-web.zip ./build
- name: Upload build artifact to GitHub release assets - name: Upload build artifact to GitHub release assets
uses: svenstaro/upload-release-action@v1-release uses: svenstaro/upload-release-action@v1-release
with: with:
repo_token: ${{ secrets.GITHUB_TOKEN }} repo_token: ${{ secrets.GITHUB_TOKEN }}
file: stremio-web.zip file: stremio-web.zip
asset_name: stremio-web.zip asset_name: stremio-web.zip
tag: ${{ github.ref }} tag: ${{ github.ref }}
overwrite: true overwrite: true
- name: Upload build artifact to Netlify - name: Upload build artifact to Netlify
run: | run: |
curl -H "Content-Type: application/zip" \ curl -H "Content-Type: application/zip" \
-H "Authorization: Bearer ${{ secrets.netlify_access_token }}" \ -H "Authorization: Bearer ${{ secrets.netlify_access_token }}" \
--data-binary "@stremio-web.zip" \ --data-binary "@stremio-web.zip" \
https://api.netlify.com/api/v1/sites/stremio-development.netlify.com/deploys https://api.netlify.com/api/v1/sites/stremio-development.netlify.com/deploys

View file

@ -6,11 +6,11 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Install NPM dependencies - name: Install NPM dependencies
run: npm install run: npm install
- name: Test - name: Test
run: npm test run: npm test
- name: Lint - name: Lint
run: npm run lint run: npm run lint