Skip to content

Add fileTypes logging (no-ci) #44

Add fileTypes logging (no-ci)

Add fileTypes logging (no-ci) #44

Workflow file for this run

on:
push:
branches:
- master
name: Build and Publish
jobs:
build:
if: "!contains(github.event.head_commit.message, 'no-ci')"
name: Build & Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 10.17
uses: actions/setup-node@v1
with:
node-version: 10.17
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('package.json') }}
- name: Install Dependencies
if: steps.cache-modules.outputs.cache-hit != 'true'
run: npm install
- name: Build Library
run: npm run-script build
- name: Deploy to NPM! 🚀
uses: Github-Actions-Community/merge-release@master
uses: mikeal/merge-release@master

Check failure on line 31 in .github/workflows/push.yml

View workflow run for this annotation

GitHub Actions / Build and Publish

Invalid workflow file

The workflow is not valid. .github/workflows/push.yml (Line: 31, Col: 7): 'uses' is already defined
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
deploy-demo:
name: Deploy Demo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 10.17
uses: actions/setup-node@v1
with:
node-version: 10.17
- name: Cache node_modules
id: cache-modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('package.json') }}
- name: Install Dependencies
if: steps.cache-modules.outputs.cache-hit != 'true'
run: npm install
- name: Build & Deploy Demo
run: |
npm run-script build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: . # The folder the action should deploy.