Skip to content

Commit

Permalink
GitHub workflows updated
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihaase committed Aug 26, 2024
1 parent dd8b927 commit 87c25e9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.15]
mongodb-version: [4.4]
node-version: [20.x]
mongodb-version: ['7.0']
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

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

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.3.0
uses: supercharge/mongodb-github-action@1.11.0
with:
mongodb-version: 4.4
mongodb-version: ${{ matrix.mongodb-version }}

- name: Install dependencies
run: npm install
Expand All @@ -38,7 +38,7 @@ jobs:
run: npm run build

- name: Save build
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: build
path: ./dist
18 changes: 9 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.13]
mongodb-version: [4.4]
node-version: [ 20.x ]
mongodb-version: [ '7.0' ]
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

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

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.3.0
uses: supercharge/mongodb-github-action@1.11.0
with:
mongodb-version: 4.4
mongodb-version: ${{ matrix.mongodb-version }}

- name: Install dependencies
run: npm install
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Build
run: npm run build

- uses: JS-DevTools/npm-publish@v1
- uses: JS-DevTools/npm-publish@v3
with:
access: public
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit 87c25e9

Please sign in to comment.