This repository has been archived by the owner on Aug 10, 2024. It is now read-only.
[Snyk] Security upgrade mocha from 8.4.0 to 10.6.0 #32
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 installation 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: Test CI | |
on: | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
branches: [ master ] | |
jobs: | |
install_npm: | |
uses: ./.github/workflows/install_npm.yml | |
build: | |
runs-on: windows-latest | |
needs: [ install_npm ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install ALS Node Client dependency | |
run: npm i @aml-org/als-node-client | |
- run: npm ci | |
- run: npm run build --if-present | |
- name: Check custom dependencies installed | |
run: npm ls | grep @aml-org | |
- id: test | |
run: npm run test | |
continue-on-error: true | |
- name: Notify slack | |
id: slack | |
uses: slackapi/[email protected] | |
with: | |
# This data can be any valid JSON from a previous step in the GitHub Action | |
payload: | | |
{ | |
"project": "als-vscode :vscode:", | |
"result": "test outcome: `${{ steps.test.outcome}}`", | |
"version": " - " | |
} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |