Skip to content

Commit

Permalink
Merge pull request #10 from namecheap/chore/node-20
Browse files Browse the repository at this point in the history
chore: update to node v20
  • Loading branch information
stas-nc authored Oct 30, 2023
2 parents 721006b + fe28303 commit 8fa0585
Show file tree
Hide file tree
Showing 11 changed files with 6,059 additions and 16,580 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/build-test.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: CI

on:
push:
branches:
- master
tags-ignore:
- '**'
pull_request:
branches:
- '**'

jobs:
build:
name: Build
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run check-format
- run: npm run lint
- run: npm run build
- run: npm test
- if: matrix.node-version == '20.x'
uses: actions/upload-artifact@v3
with:
name: Code coverage
path: coverage/
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.0.0](https://github.com/namecheap/ilc-adapter-react/compare/v4.0.0...v5.0.0) (2023-10-30)

### ⚠ BREAKING CHANGES

- Node >= 16 is required
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module.exports = {
transform: {
[`^.+\\.(js|ts|tsx)$`]: 'ts-jest',
'^.+\\.[tj]sx?$': 'ts-jest',
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
testMatch: ['**/?(*.)+(spec|test).(js|ts|tsx)'],
testMatch: ['**/?(*.)+(spec|test).[jt]s?(x)'],
testEnvironment: 'jsdom',
};
Loading

0 comments on commit 8fa0585

Please sign in to comment.