Bump @adobe/css-tools from 4.2.0 to 4.3.2 in /cljest #128
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: Lint and tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
cljest-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: cljest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Setup Clojure | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.11.1.1224 | |
- name: Link jest-preset-cljest | |
run: npm link ../jest-preset-cljest | |
- name: Install dependencies | |
run: | | |
make install | |
cd node_modules/jest-preset-cljest | |
npm install | |
cd ../.. | |
- name: Lint | |
run: make lint | |
- name: Compile and run cljest tests | |
run: make jest-ci | |
cljest-analyze: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: cljest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Setup Clojure | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.11.1.1224 | |
- name: Analyze with cljdoc-analyzer | |
run: make analyze | |
jest-preset-cljest-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: jest-preset-cljest | |
strategy: | |
matrix: | |
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: make install | |
- name: Lint | |
run: make lint | |
- name: Run JS tests | |
run: make test-ci | |
check-version-bumps: | |
runs-on: ubuntu-latest | |
outputs: | |
changed: ${{ steps.versions-bumped.outputs.any_changed }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check if versions bumped | |
id: versions-bumped | |
uses: tj-actions/[email protected] | |
with: | |
files: | | |
cljest/build.edn | |
jest-preset-cljest/package.json | |
ensure-package-versions-match: | |
needs: check-version-bumps | |
if: needs.check-version-bumps.outputs.changed == 'true' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
- name: Setup Clojure | |
uses: DeLaGuardo/[email protected] | |
with: | |
cli: 1.11.1.1224 | |
bb: 1.3.181 | |
- name: Run ensure-package-versions-match script | |
run: scripts/ensure-package-versions-match.bb |