Skip to content

Commit

Permalink
update devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle committed Mar 8, 2022
1 parent e5b0915 commit c8d8cd9
Show file tree
Hide file tree
Showing 7 changed files with 6,477 additions and 985 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/renovate.json
Expand Up @@ -7,7 +7,7 @@
"timezone": "Pacific/Auckland",
"node": { "enabled": false },
"ignoreDeps": ["node"],
"schedule": ["every 2 weeks on saturday"],
"schedule": ["every 6 weeks on saturday"],
"packageRules": [
{
"matchDepTypes": ["devDependencies"],
Expand Down
31 changes: 22 additions & 9 deletions .github/workflows/test.yml
Expand Up @@ -8,29 +8,42 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
node-version: [10.x, 12.x, 14.x, 16.x, 17.x]

steps:
- uses: actions/checkout@v1
- name: ⏬ Checkout code
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: 🔢 Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: npm install, build, and test
- name: ⏬ Install
run: |
npm install
npm test
env:
CI: true

- name: Coveralls
uses: coverallsapp/github-action@v1.0.1
- name: ✨ Lint
if: ${{ matrix.node-version != '10.x' }}
run: |
npm run lint
- name: 🔨 Build
run: |
npm run build
- name: 🧪 Test
run: |
npm run unit-tests
- name: 📈 Coveralls
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.github_token }}

- name: npm publish
- name: 📦 Publish
if: ${{ github.ref == 'refs/heads/main' }}
run: |
npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
Expand Down

0 comments on commit c8d8cd9

Please sign in to comment.