Skip to content

Commit

Permalink
chore: Update CI to latest actions
Browse files Browse the repository at this point in the history
  • Loading branch information
markemer committed Jun 12, 2024
1 parent 4391de5 commit f93c308
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: npm install, build, and test
env:
CI: true
Expand Down
9 changes: 3 additions & 6 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion src/platforms/pwa/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export class PwaAssetGenerator extends AssetGenerator {
for (const icon of icons) {
if (await pathExists(join(pwaDir, icon.src))) {
const exists = !!pwaAssets.find(({ template: { width, height } }) => {
return `${width}x${height}` === icon.sizes
return `${width}x${height}` === icon.sizes;
});
if (!exists) {
rmSync(join(pwaDir, icon.src));
Expand Down

0 comments on commit f93c308

Please sign in to comment.