This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
Bump tough-cookie and botbuilder #38
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
# This workflow will do a clean install of node dependencies, cache/restore them, 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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: Test on node ${{ matrix.node_version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node_version: [16.x] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: reviewdog/action-setup@v1 | |
with: | |
reviewdog_version: latest | |
- name: woke | |
uses: get-woke/woke-action-reviewdog@v0 | |
with: | |
fail-on-error: true | |
level: error | |
reporter: github-pr-review | |
filter-mode: added | |
- name: markdownlint | |
uses: reviewdog/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
fail_on_error: true | |
- name: shellcheck | |
uses: reviewdog/action-shellcheck@v1 | |
with: | |
fail_on_error: true | |
- name: Use Node.js ${{ matrix.node_version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node_version }} | |
- name: add auth token for npm packages | |
run: npm config set //npm.pkg.github.com/:_authToken ${PACKAGE_TOKEN} | |
env: | |
PACKAGE_TOKEN: ${{ secrets.READ_PACKAGE_PAT }} | |
- name: npm install | |
run: | | |
npm ci | |
- name: eslint | |
uses: reviewdog/action-eslint@v1 | |
with: | |
fail_on_error: true | |
- name: npm build and test | |
run: | | |
npm run build | |
npm test |