Skip to content

Commit

Permalink
Merge pull request #202 from l0drex/beta
Browse files Browse the repository at this point in the history
Update build.yml to use pnpm
  • Loading branch information
l0drex authored Jul 28, 2023
2 parents d758525 + e7c096d commit 3f057ff
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,20 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.10
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
cache: 'pnpm'
- name: Install and Build
run: |
yarn install --frozen-lockfile
yarn build --if-present
pnpm install --frozen-lockfile
pnpm build --if-present
- name: Test
run: yarn test
run: pnpm test
- uses: actions/upload-artifact@v3
with:
name: production-files
Expand Down
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
To begin the development, run `pnpm start`.
To create a production bundle, use `pnpm build`.
-->
</body>
</html>
1 change: 0 additions & 1 deletion src/backend/TestData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ export default function getTestData(): object {
return testData.toJSON();
}

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

0 comments on commit 3f057ff

Please sign in to comment.