Skip to content

Commit 3f057ff

Browse files
authored
Merge pull request #202 from l0drex/beta
Update build.yml to use pnpm
2 parents d758525 + e7c096d commit 3f057ff

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,20 @@ jobs:
2424

2525
steps:
2626
- uses: actions/checkout@v3
27+
- uses: pnpm/action-setup@v2
28+
with:
29+
version: 8.6.10
2730
- name: Use Node.js 16.x
2831
uses: actions/setup-node@v3
2932
with:
3033
node-version: 16.x
31-
cache: 'yarn'
34+
cache: 'pnpm'
3235
- name: Install and Build
3336
run: |
34-
yarn install --frozen-lockfile
35-
yarn build --if-present
37+
pnpm install --frozen-lockfile
38+
pnpm build --if-present
3639
- name: Test
37-
run: yarn test
40+
run: pnpm test
3841
- uses: actions/upload-artifact@v3
3942
with:
4043
name: production-files

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969
You can add webfonts, meta tags, or analytics to this file.
7070
The build step will place the bundled scripts into the <body> tag.
7171
72-
To begin the development, run `npm start` or `yarn start`.
73-
To create a production bundle, use `npm run build` or `yarn build`.
72+
To begin the development, run `pnpm start`.
73+
To create a production bundle, use `pnpm build`.
7474
-->
7575
</body>
7676
</html>

src/backend/TestData.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ export default function getTestData(): object {
5050
return testData.toJSON();
5151
}
5252

53-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
5453
function extensiveData() {
5554
const duration: DurationString = "P8Y";
5655
const marriageDate = new GedcomX.Date().setFormal(

0 commit comments

Comments
 (0)