Skip to content

Commit

Permalink
Merges with main
Browse files Browse the repository at this point in the history
  • Loading branch information
amandasavluchinske committed Dec 18, 2023
2 parents 8d761d9 + 6298d1b commit 70cb95f
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 32 deletions.
30 changes: 0 additions & 30 deletions .circleci/config.yml

This file was deleted.

56 changes: 56 additions & 0 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: main

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
# Oldest maintenance LTS, End-of-Life 2025-04-30
test-node-18:
runs-on: ubuntu-latest
container:
image: node:18.19
env:
NODE_OPTIONS: --openssl-legacy-provider
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
run: |
echo "Node version: $(node --version)"
echo "NPM version: $(npm --version)"
npm install
npm run ci
- name: Unset NODE_OPTIONS
run: |
unset NODE_OPTIONS
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- "current"
- "20.10"
env:
NODE_OPTIONS: --openssl-legacy-provider
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Print Node.js version
run: |
echo "Node version: $(node --version)"
echo "NPM version: $(npm --version)"
- name: Install dependencies and run tests
run: |
npm install
npm run ci
- name: Unset NODE_OPTIONS
run: |
unset NODE_OPTIONS
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Webpack Bundle Tracker [![Join the chat at https://gitter.im/owais/webpack-bundle-tracker](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/owais/webpack-bundle-tracker?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![master build status](https://circleci.com/gh/django-webpack/webpack-bundle-tracker.svg?style=svg)](https://circleci.com/gh/django-webpack/webpack-bundle-tracker)
[![master build status](https://github.com/django-webpack/webpack-bundle-tracker/actions/workflows/test.yml/badge.svg)](https://github.com/django-webpack/webpack-bundle-tracker/actions/workflows/test.yml)


Spits out some stats about webpack compilation process to a file.

Expand Down
3 changes: 2 additions & 1 deletion tests/base.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ describe('BundleTrackerPlugin bases tests', () => {
);
});

it('It should create intermdiate directory if path option is set with intermdiate directory', done => {
it('It should create intermediate directory if path option is set with intermediate directory', done => {
const expectErrors = null;
const expectWarnings = getWebpack4WarningMessage();

Expand Down Expand Up @@ -484,6 +484,7 @@ describe('BundleTrackerPlugin bases tests', () => {
expectWarnings,
);
});

it('It should show compressed assets', done => {
const expectErrors = null;
const expectWarnings = getWebpack4WarningMessage();
Expand Down

0 comments on commit 70cb95f

Please sign in to comment.