Skip to content

Commit

Permalink
Merge pull request #88 from codepunkt/dspace-group-main
Browse files Browse the repository at this point in the history
  • Loading branch information
codepunkt authored Jan 28, 2024
2 parents 5572c3b + 357754f commit 8e8f386
Show file tree
Hide file tree
Showing 11 changed files with 5,347 additions and 3,579 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,39 +12,39 @@ on:
jobs:
test:
name: Execute Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci --no-audit --no-fund
cd test && npm ci --no-audit --no-fund
- name: Run tests
run: npm run test
env:
CI: true
- name: Create Coverage summary file
uses: irongut/[email protected]
with:
filename: ./coverage/cobertura-coverage.xml
format: markdown
output: both
- name: Write PR meta to file
run: |
echo "PR_HEADSHA=${{ github.event.pull_request.head.sha }}" >> pr.env
echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> pr.env
- name: Upload PR meta and Coverage summery artifacts
uses: actions/upload-artifact@v2
with:
name: pr-comment-meta
path: |
pr.env
code-coverage-results.md
retention-days: 1
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci --no-audit --no-fund
cd test && npm ci --no-audit --no-fund
- name: Run tests
run: npm run test
env:
CI: true
- name: Create Coverage summary file
uses: irongut/[email protected]
with:
filename: ./coverage/cobertura-coverage.xml
format: markdown
output: both
- name: Write PR meta to file
run: |
echo "PR_HEADSHA=${{ github.event.pull_request.head.sha }}" >> pr.env
echo "PR_NUMBER=${{ github.event.pull_request.number }}" >> pr.env
- name: Upload PR meta and Coverage summery artifacts
uses: actions/upload-artifact@v2
with:
name: pr-comment-meta
path: |
pr.env
code-coverage-results.md
retention-days: 1
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 3.0.0

- Support for node 16 removed
- Update dependencies

# 2.0.1

- Publish only required files to NPM
Expand Down
5 changes: 0 additions & 5 deletions ava.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ export default {
failWithoutAssertions: false,
verbose: true,
timeout: '2m',
nodeArguments: [
'--no-warnings',
'--loader=@esbuild-kit/esm-loader',
'--experimental-specifier-resolution=node',
],
extensions: {
ts: 'module',
},
Expand Down
Loading

0 comments on commit 8e8f386

Please sign in to comment.