Update cspell-words.txt #54
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: Test JavaScript application | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: set timezone to DE | |
run: sudo timedatectl set-timezone Europe/Berlin | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: latest | |
cache: "npm" | |
- run: npm ci | |
- run: npm run format | |
- run: npm run lint | |
- name: download libs | |
run: sh scripts/download_libs.sh | |
- name: Jest unit tests | |
run: npm test | |
# - name: Testing via npm jest | |
# uses: willcaul/jest-github-action@v2 | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# with: | |
# test-command: "npm test" | |
# changes-only: false | |
# coverage-comment: true |