Skip to content

Commit

Permalink
fix: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bamdadfr committed Jun 25, 2024
1 parent e9427df commit 3b8f818
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 27 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/codeclimate--onPush.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
name: semantic-release-yarn--onPush
name: release

on:
push:
branches:
- master

jobs:
semantic-release-yarn--onPush:
release:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@master

- uses: actions/setup-node@master
with:
node-version: '14'
node-version: '20'

- run: yarn
- run: npm install -g pnpm
- run: pnpm i

- run: |
npm install -g \
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
"url": "https://bamdad.fr/"
},
"scripts": {
"build": "next build && yarn build:post",
"build:post": "yarn build:post:build-sitemap && yarn build:post:remove-source-maps",
"build": "next build && pnpm build:post",
"build:post": "pnpm build:post:build-sitemap && pnpm build:post:remove-source-maps",
"build:post:build-sitemap": "next-sitemap",
"build:post:remove-source-maps": "find .next/static -type f -name \"*.map\" -exec rm {} \\;",
"coverage": "yarn test:coverage",
"coverage": "pnpm test:coverage",
"dev": "next dev",
"export": "next export",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
"package:clean": "rimraf .next && rimraf node_modules",
"package:reinstall": "yarn package:clean && yarn",
"package:reinstall": "pnpm package:clean && pnpm",
"package:sort": "npx sort-package-json",
"start": "next start",
"test": "jest",
Expand Down

0 comments on commit 3b8f818

Please sign in to comment.