[DOP-4437]: Remove unused directives #3969
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
platform: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.platform }} | |
env: | |
NPM_BASE_64_AUTH: ${{ secrets.NPM_BASE_64_AUTH }} | |
NPM_EMAIL: ${{ secrets.NPM_EMAIL }} | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '18.15' | |
- name: Install | |
run: npm ci --legacy-peer-deps | |
- name: Lint | |
run: npm run lint && npm run format | |
- name: Test | |
run: npm test | |
env: | |
CI: true | |
test-build: | |
strategy: | |
matrix: | |
platform: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.platform }} | |
env: | |
NPM_BASE_64_AUTH: ${{ secrets.NPM_BASE_64_AUTH }} | |
NPM_EMAIL: ${{ secrets.NPM_EMAIL }} | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '18.15' | |
- name: Install Rust toolchain | |
run: | | |
rustup update --no-self-update stable | |
rustup component add --toolchain stable rustfmt rust-src | |
rustup default stable | |
- name: Install | |
run: npm ci --legacy-peer-deps | |
- name: Test | |
run: npm run build | |
env: | |
CI: true |