Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jankapunkt committed Jul 4, 2023
1 parent 2747d4f commit 27871d5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '18.x'

- name: cache dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -37,15 +37,15 @@ jobs:
needs: [lintcode]
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: '18.x'

- name: cache dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -61,21 +61,21 @@ jobs:
needs: [lintcode,lintdocs]
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Checkout leaonline:corelib repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: leaonline/corelib
path: github/corelib

- name: Setup meteor
uses: meteorengineer/setup-meteor@v1
with:
meteor-release: '1.9.2'
meteor-release: '1.11.1'

- name: cache dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ and pass options as Object:

```js
import { TaskRenderers } from '../../renderers/TaskRenderers'

TaskRenderers.init({
markdown: {
renderer: async txt => {
Expand Down
1 change: 1 addition & 0 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ Package.onTest(function (api) {
api.use('random')
api.use(['lmieulet:meteor-legacy-coverage', 'lmieulet:meteor-coverage', 'meteortesting:mocha'])
api.use('leaonline:corelib')
api.use('leaonline:ui')
api.mainModule('ui-tests.js', ['server', 'client'])
})
2 changes: 1 addition & 1 deletion test-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"scripts": {
"start": "meteor run",
"ci": "npm ci && npm run test",
"ci": "METEOR_PACKAGE_DIRS='../../:../../github' npm ci && npm run test",
"setup": "mkdir -p packages && ln -sfn ../../ ./packages/ui",
"lint:code": "npm run setup && standardx -v ../ | snazzy",
"lint:code-fix": "npm run setup && standardx --fix ../ | snazzy",
Expand Down

0 comments on commit 27871d5

Please sign in to comment.