Bump copy-webpack-plugin from 13.0.1 to 14.0.0 in /assets #1165
This file contains hidden or 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
| on: push | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| services: | |
| db: | |
| image: postgres:11 | |
| ports: ['5432:5432'] | |
| env: | |
| POSTGRES_PASSWORD: postgres | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| strategy: | |
| matrix: | |
| elixir: [1.18.4] | |
| otp: [27.3.4] | |
| node: [22.18.0] | |
| redis: [8] | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - name: Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@0.6.0 | |
| with: | |
| access_token: ${{ github.token }} | |
| - uses: actions/checkout@v2 | |
| - name: Start Redis | |
| uses: supercharge/redis-github-action@1.2.0 | |
| with: | |
| redis-version: ${{ matrix.redis }} | |
| - name: Setup elixir | |
| uses: erlef/setup-elixir@v1 | |
| with: | |
| elixir-version: ${{ matrix.elixir }} # Define the elixir version [required] | |
| otp-version: ${{ matrix.otp }} # Define the OTP version [required] | |
| - name: Retrieve Mix Dependencies Cache | |
| uses: actions/cache@v3 | |
| id: mix-cache # id to use in retrieve action | |
| with: | |
| path: deps | |
| key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
| restore-keys: | | |
| ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
| ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix- | |
| - name: Install Mix Dependencies | |
| if: steps.mix-cache.outputs.cache-hit != 'true' | |
| run: | | |
| mix local.rebar --force | |
| mix local.hex --force | |
| mix deps.get | |
| - name: Retrieve PLT Cache | |
| uses: actions/cache@v3 | |
| id: plt-cache | |
| with: | |
| path: priv/plts | |
| key: ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plts2-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
| restore-keys: | | |
| ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plts2-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} | |
| ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-plts2- | |
| - name: Create PLTs | |
| if: steps.plt-cache.outputs.cache-hit != 'true' | |
| run: | | |
| mix dialyzer --plt | |
| - name: Load list of bots for bot detection | |
| run: mix ua_inspector.download --force | |
| - name: Run tests without wallaby | |
| run: mix test --exclude wallaby:true | |
| - name: Run coveralls.github | |
| run: MIX_ENV=test mix coveralls.github --exclude wallaby:true | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| - name: Build javascript bundle | |
| run: cd assets && yarn install && yarn deploy |