This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
npm: bump eslint-plugin-import from 2.27.5 to 2.29.1 #247
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: Dart/JS Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Dart | |
uses: dart-lang/[email protected] | |
with: | |
sdk: 3.0.3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Dart dependencies | |
run: dart pub get | |
- name: Install JS dependencies | |
run: npm ci | |
- name: Compile Dart to JS | |
run: npm run build:dart | |
- name: Compile JS | |
run: npm run build:js | |
- name: Run Dart Library tests | |
run: npm run test:dart | |
- name: Lint JS | |
run: npm run lint:js |