Skip to content

Commit

Permalink
Fixed main pipeline (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexShukel authored Jul 20, 2023
1 parent b897c4c commit e06f248
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 40 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,31 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['14.x', '16.x']
node: ['16.x', '18.x']
os: [ubuntu-latest]

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

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

- name: Install latest npm
run: npm i -g npm@latest
- name: Install pnpm 8.6.7
uses: pnpm/[email protected]
with:
version: 8.6.7

- name: Install global dependencies
run: npm install
- name: Install pnpm dependencies (with cache)
uses: covbot/pnpm-install-with-cache@v1

- name: Build
run: npm run build
run: pnpm build

- name: Lint
run: npm run lint
run: pnpm lint

- name: Test
run: npm run test
run: pnpm test
26 changes: 0 additions & 26 deletions aqu.config.js

This file was deleted.

8 changes: 8 additions & 0 deletions aqu.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"dtsBundleGeneratorOptions": {
"libraries": {
"importedLibraries": ["react"],
"allowedTypesLibraries": []
}
}
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"files": [
"dist"
],
"main": "./dist/index.cjs",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"module": "./dist/index.mjs",
"module": "./dist/reactive-popups.esm.js",
"scripts": {
"build": "aqu build",
"start": "aqu watch",
Expand Down Expand Up @@ -57,5 +57,6 @@
},
"peerDependencies": {
"react": ">=16"
}
},
"packageManager": "[email protected]"
}
6 changes: 5 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e06f248

Please sign in to comment.