Update version #534
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: prensa-bot ci | |
on: [push] | |
jobs: | |
install_and_test: | |
name: prensa-bot install and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
cache: npm | |
node-version: 16 | |
- name: pkg install | |
run: npm install | |
- name: pkg build | |
run: npm run build | |
- name: pkg lint | |
run: npm run eslint | |
- name: prensa-bot notify | |
if: ${{ failure() }} | |
run: node notifications/ciNotifications.js | |
env: | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |