Release v1.76.0 #314
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
# Copyright (c) 2023-present VPMedia | |
# author: Andras Csizmadia <[email protected]> | |
name: Continuous Integration | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- name: Init | |
run: npm ci --no-audit --no-fund | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm run test | |
- name: Slack notification | |
# https://github.com/slackapi/slack-github-action | |
id: slack | |
uses: slackapi/[email protected] | |
with: | |
channel-id: "dev-github" | |
slack-message: "${{ github.repository }} - ${{ github.workflow }} workflow is ${{ job.status }} for ${{ github.base_ref || github.ref_name }} branch\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}" | |
env: | |
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
if: always() |