fix: release #299
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: Deriv Analytics Test Workflow | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
jobs: | |
build_and_publish: | |
name: Install Dependencies and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: ./.github/actions/setup_node | |
- name: Install dependencies | |
uses: ./.github/actions/npm_install_from_cache | |
- name: Invalidate NPM Cache | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
uses: "./.github/actions/invalidate_master_cache" | |
- name: Test | |
run: npm run prepublishOnly | |
shell: bash |