Skip to content

build: Bump loader-utils from 2.0.2 to 2.0.4 #1237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -13,3 +13,6 @@ updates:
schedule:
# Check for updates to GitHub Actions every weekday
interval: "daily"
# Setting this to 0 means we only get security updates, and not all
# major/minor/patch releases.
open-pull-requests-limit: 0
19 changes: 19 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Pull Request

on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
conventional:
name: Validate PR title

runs-on: ubuntu-latest

steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24 changes: 0 additions & 24 deletions .github/workflows/release.yml

This file was deleted.

75 changes: 65 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,81 @@
name: test
on:
push:
branches:
- main
pull_request:
branches:
- main

on: [push]

jobs:
lint:
runs-on: 'ubuntu-latest'

strategy:
matrix:
node: [14, 16, 18]

name: Lint (Node ${{ matrix.node }})

steps:
- uses: actions/checkout@v2.4.0
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2.5.1
with:
node-version: ${{ matrix.node }}
- run: npm -g install npm
if: matrix.node == 14
- run: npm ci
- run: npm run stylelint
- run: npm run eslint

test:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node: [10, 12, 14, 16]
os: [ubuntu-latest, macos-latest]
# No point testing on Node 18 as Webpack 4 will always fail with it due
# to OpenSSL updates. We'll need to handle this before Node 18 hits LTS.
node: [14, 16, 18]

name: Test (Node ${{ matrix.node }}, ${{ matrix.os }})

steps:
- uses: actions/checkout@v2.4.0
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2.5.1
with:
node-version: ${{ matrix.node }}
- run: npm -g install npm
if: matrix.node == 14
- run: npm ci
- run: npm run bootstrap
- run: npm test
env:
CI: true

build-examples:

runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
# No point testing on Node 18 as Webpack 4 will always fail with it due
# to OpenSSL updates. We'll need to handle this before Node 18 hits LTS.
node: [14, 16, 18]

name: Build examples (Node ${{ matrix.node }}, ${{ matrix.os }})

needs:
- test
- lint

steps:
- uses: actions/checkout@v2.4.0
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2.5.1
with:
node-version: ${{ matrix.node }}
- run: npm -g install npm
if: matrix.node == 14
- run: npm ci
- run: npm run build
env:
CI: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -7,3 +7,4 @@ dist
/fractal.js
.idea/
.eslintcache
.turbo
Empty file modified .husky/pre-commit
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion examples/nunjucks/package.json
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@
"@frctl/nunjucks": "^2.0.15"
},
"devDependencies": {
"@frctl/adapter-tests": "^0.1.0",
"@frctl/adapter-tests": "^0.2.0",
"node-fetch": "^2.6.1"
}
}
2 changes: 2 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -4,4 +4,6 @@
module.exports = {
testEnvironment: 'node',
setupFilesAfterEnv: ['./tests/setup.js'],
testMatch: ['<rootDir>/**/*.spec.js'],
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
};
10 changes: 0 additions & 10 deletions lerna.json

This file was deleted.

Loading