refactor(next-adapter): loosen peer dependency versions #7
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: Packages | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
node: [16.x] | |
package: | |
- electron-adapter | |
- next-adapter | |
- pwa | |
- webpack-config | |
steps: | |
- name: 🏗 Setup repository | |
uses: actions/checkout@v3 | |
- name: 🏗 Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: yarn | |
- name: 📦 Install dependencies | |
# `--ignore-engines` is required due to `expo-module-scripts` requiring node 18+ | |
# But, this repository doesn't use features from Node 18 and needs Node 16 for electron | |
run: yarn install --frozen-lockfile --ignore-engines | |
- name: 🛠 Build dependencies | |
run: yarn run build | |
- name: 🚨 Lint ${{ matrix.package }} | |
working-directory: packages/${{ matrix.package }} | |
run: yarn run lint | |
- name: 🧪 Test ${{ matrix.package }} | |
working-directory: packages/${{ matrix.package }} | |
run: yarn run test | |