Skip to content

Bump semver from 5.7.1 to 5.7.2 (#15) #33

Bump semver from 5.7.1 to 5.7.2 (#15)

Bump semver from 5.7.1 to 5.7.2 (#15) #33

Workflow file for this run

name: ci
on: [push]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install deps
run: |
npm ci
- name: Build
run: |
npm run build
- name: check files changed by build
continue-on-error: true # need to fix
id: fail_step
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
run: |
git config user.email "no-reply@hiroppy.me"
git config user.name "test-bot"
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git checkout master
git add .
git diff --quiet && git diff --staged --quiet
- name: run if fail_step failed
if: failure() && steps.fail_step.outcome == 'failure'
run: echo "It has been confirmed that the files have changed."