Skip to content

Bump word-wrap from 1.2.3 to 1.2.4 #44

Bump word-wrap from 1.2.3 to 1.2.4

Bump word-wrap from 1.2.3 to 1.2.4 #44

Workflow file for this run

---
name: Github CI
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
cache: 'npm'
- name: Install
run: npm ci
- name: Lint commit messages
uses: wagoid/commitlint-github-action@v3
- name: ESLint
run: npm run lint
- name: Test and report
env:
CC_TEST_REPORTER_ID: 472fdc60d232ddbea369bf5a7b98e30da328b3f166f819d0e52f035ba9087078
GIT_BRANCH: ${{ github.ref == 'refs/heads/master' && 'master' || github.ref }}
GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
NEO_CC_URL: https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
NEO_CC: ./cc-test-reporter
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: |
([[ -e $NEO_CC ]] || curl -L $NEO_CC_URL > $NEO_CC) && chmod +x $NEO_CC
$NEO_CC before-build
echo "::add-matcher::.github/problem-matcher.json"
npm test
$NEO_CC after-build --exit-code $?
- name: Semantic release
run: npx semantic-release
if: success()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUSKY: 0