chore(deps-dev): bump webpack from 5.91.0 to 5.96.1 #1606
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
CI: true | |
NODE_VERSION: 18.18.1 | |
jobs: | |
lint: | |
name: Lint | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "yarn" | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint JS & Handlebars | |
run: yarn lint | |
test: | |
name: Tests | |
needs: [lint] | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "yarn" | |
- name: Install dependencies (no lockfile) | |
run: yarn install --no-lockfile | |
- name: Run tests (floating dependencies) | |
run: yarn test:ember | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Run tests | |
run: yarn test:ember | |
try-one: | |
name: Additional Tests | |
needs: [test] | |
runs-on: [ubuntu-latest] | |
strategy: | |
matrix: | |
scenario: | |
- ember-lts-4.8 | |
- ember-lts-4.12 | |
# Disable for now since ember-data@4 causes an embroider build error. See https://github.com/projectcaluma/ember-emeis/pull/625#issuecomment-1614488464 | |
# - ember-release | |
- embroider-safe | |
- embroider-optimized | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
yarn | |
package | |
yarn.lock | |
key: yarn-${{ matrix.scenario }}-${{ hashFiles('yarn.lock') }}-${{ hashFiles('config/ember-try.js') }} | |
restore-keys: | | |
yarn-${{ matrix.scenario }}-${{ hashFiles('yarn.lock') }}-${{ hashFiles('config/ember-try.js') }} | |
yarn-${{ matrix.scenario }}- | |
yarn- | |
- name: Run tests | |
run: yarn ember try:one ${{ matrix.scenario }} |