Use SDK function for upgrade links and survey #5127
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: Test JS | |
on: | |
pull_request: | |
types: [ opened, synchronize, ready_for_review ] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name | |
strategy: | |
matrix: | |
node-version: [18.x] | |
name: JS Test | |
steps: | |
- uses: actions/checkout@master | |
with: | |
persist-credentials: false | |
- name: Build files using ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Lint js files | |
run: | | |
npm ci | |
npm run lint | |
env: | |
CI: true |