From 94c0a251e5cdca09a925adcd579bd741d25bb56e Mon Sep 17 00:00:00 2001 From: LekoArts Date: Sun, 6 Mar 2022 12:25:43 +0100 Subject: [PATCH] updates --- .github/actions/lock-file/update-lock-file.sh | 2 ++ .github/workflows/release.yml | 2 ++ package.json | 1 + package/package.json | 1 - yarn.lock | 2 +- 5 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .github/actions/lock-file/update-lock-file.sh diff --git a/.github/actions/lock-file/update-lock-file.sh b/.github/actions/lock-file/update-lock-file.sh new file mode 100644 index 0000000..0f905d3 --- /dev/null +++ b/.github/actions/lock-file/update-lock-file.sh @@ -0,0 +1,2 @@ +npx changeset version +yarn install --mode update-lockfile \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c1c2d7..568c02d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,8 @@ jobs: commit: "chore(release): Publish" title: "Changesets: Version Packages" publish: yarn release + # Workaround for https://github.com/changesets/changesets/issues/421 + version: ./.github/actions/lock-file/update-lock-file.sh env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 5596b2c..d1a26d5 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@typescript-eslint/eslint-plugin": "^5.13.0", "@typescript-eslint/parser": "^5.13.0", "concurrently": "^7.0.0", + "cross-env": "^7.0.3", "eslint": "^8.10.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-prettier": "^8.5.0", diff --git a/package/package.json b/package/package.json index 9f0517a..9186849 100644 --- a/package/package.json +++ b/package/package.json @@ -24,7 +24,6 @@ }, "devDependencies": { "@types/got": "^9.6.12", - "cross-env": "^7.0.3", "gatsby": "^4.9.1", "gatsby-plugin-utils": "^3.3.0" }, diff --git a/yarn.lock b/yarn.lock index d1a545b..e765b39 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10951,7 +10951,6 @@ __metadata: resolution: "gatsby-source-tmdb@workspace:package" dependencies: "@types/got": ^9.6.12 - cross-env: ^7.0.3 gatsby: ^4.9.1 gatsby-node-helpers: ^1.2.1 gatsby-plugin-utils: ^3.3.0 @@ -17975,6 +17974,7 @@ __metadata: "@typescript-eslint/eslint-plugin": ^5.13.0 "@typescript-eslint/parser": ^5.13.0 concurrently: ^7.0.0 + cross-env: ^7.0.3 eslint: ^8.10.0 eslint-config-airbnb: ^19.0.4 eslint-config-prettier: ^8.5.0