Skip to content
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

Update dependencies #647

Merged
merged 2 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
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
33 changes: 20 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['16', '17']
node:
- lts/*
- node
steps:
- name: "Checkout"
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: "Setup node"
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm

- name: "npm ci"
run: npm ci
Expand All @@ -48,17 +51,19 @@ jobs:
# run: npm run test-browser

- name: "Coverage Push"
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: unit-${{ matrix.node }}
parallel: true

- name: "Artifacts"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: matrix.node == 'node'
with:
name: distribution
path: dist/*.js
if-no-files-found: error


ghpages:
Expand All @@ -67,12 +72,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: "Setup node"
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 17
node-version: latest
cache: npm

- name: "npm ci"
run: npm ci
Expand All @@ -91,12 +97,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: "Setup node"
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 17
node-version: latest
cache: npm

- name: "npm ci"
run: npm ci
Expand Down Expand Up @@ -124,7 +131,7 @@ jobs:
node tools/scriptutils.js generate-zones tools/tzdb > dist/ical.timezones.js

- name: "Artifacts"
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: timezones
path: dist/ical.timezones.js
Expand All @@ -134,7 +141,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: "javascript"
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -44,4 +44,4 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
Loading