Skip to content

Commit

Permalink
Update build tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraq committed Sep 7, 2023
1 parent 627b267 commit 5f8ae65
Show file tree
Hide file tree
Showing 9 changed files with 2,561 additions and 9,137 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-class-properties",
"@babel/plugin-transform-runtime"
]
}
2 changes: 1 addition & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ie 11
defaults
maintained node versions
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"plugin:compat/recommended",
"ultraq"
],
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 2019
"ecmaVersion": 2020
},
"env": {
"browser": true,
Expand Down
20 changes: 5 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [18, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm test
- uses: coverallsapp/github-action@v1.1.2
- uses: codecov/codecov-action@v3
with:
github-token: ${{ secrets.github_token }}
flag-name: run-node-${{ matrix.node-version }}
parallel: true
finish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
directory: coverage/
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
/dist
/lib
/node_modules
npm-debug.log
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
Changelog
=========

### 0.13.0
- Minimum supported version of Node is now 18
- Browser target in `.browserslistrc` file is now `defaults`, so the explicit
`ie11` target has been removed and thus IE11 support has been dropped

### 0.12.0
- Dropped support for Node 10
- Use [`Intl.Pluralrules`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules)
Expand Down
Loading

0 comments on commit 5f8ae65

Please sign in to comment.