Bump word-wrap from 1.2.3 to 1.2.5 #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_dispatch: | |
push: | |
branches: master | |
paths-ignore: 'bench/**' | |
pull_request: | |
branches: master | |
paths-ignore: 'bench/**' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install the dependencies using the package manager whose lock file is in the root dir | |
uses: jaid/[email protected] | |
- name: Run static checks | |
run: npm run --if-present lint | |
- name: Build | |
run: npm run build | |
- name: Upload the build | |
uses: actions/upload-artifact@v2 | |
with: | |
name: build | |
path: build | |
test: | |
needs: build | |
strategy: | |
matrix: | |
os: [windows-latest, macOS-latest, ubuntu-latest] | |
node: [10, 12, 14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v2 | |
- name: Install Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install the dependencies using the package manager whose lock file is in the root dir | |
uses: jaid/[email protected] | |
- name: Download the build | |
uses: actions/download-artifact@v2 | |
with: | |
name: build | |
path: build | |
- name: Test | |
run: npm run test | |
ci: | |
needs: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Finish successfully | |
run: exit 0 |