Skip to content

Bump word-wrap from 1.2.3 to 1.2.4 #35

Bump word-wrap from 1.2.3 to 1.2.4

Bump word-wrap from 1.2.3 to 1.2.4 #35

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Yarn CLI
# You may pin to the exact commit or the version.
# uses: CultureHQ/actions-yarn@661c6f3a66041c2432bcfb78096b9207304614c8
uses: CultureHQ/actions-yarn@v1.0.1
- run: yarn
- run: yarn build
- run: yarn coverage
- name: Add & Commit
if: ${{ startsWith(matrix.node-version, '15') }}
uses: EndBug/add-and-commit@v7.1.0
with:
add: 'dist'
author_name: 'Crescent Moon'
author_email: 565022817@qq.com
message: "AUTO COMMIT GENERATED CODES"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}