Skip to content

Commit

Permalink
Merge pull request #8 from raegen/releases/v8
Browse files Browse the repository at this point in the history
v0.0.8
  • Loading branch information
raegen committed Jan 8, 2024
2 parents 035c55b + 4dbf0b4 commit 9d3c8ff
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions dist/main.js

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

2 changes: 1 addition & 1 deletion dist/setup.js

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@raegen/nx",
"description": "Github action for executing nx commands cached with @actions/cache",
"version": "0.0.4",
"version": "0.0.8",
"author": "raegen",
"type": "module",
"homepage": "https://github.com/raegen/nx",
Expand All @@ -26,14 +26,14 @@
},
"scripts": {
"bundle": "npm run format:write && npm run package",
"ci-test": "jest",
"ci-test": "jest --passWithNoTests",
"coverage": "make-coverage-badge --output-path ./badges/coverage.svg",
"format:write": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "tsc",
"package:watch": "npm run package -- --watch",
"test": "jest",
"test": "jest --passWithNoTests",
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
},
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as core from '@actions/core'
import crypto from 'crypto'
import core from '@actions/core'
import crypto from 'node:crypto'
import { resolve } from 'node:path'
import { readJsonFile, writeJsonFile } from 'nx/src/utils/fileutils.js'
import { workspaceRoot } from 'nx/src/utils/workspace-root.js'
Expand Down
2 changes: 1 addition & 1 deletion src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ execSync(
`sudo ln -s "${process.execPath}" /usr/bin/node && ${resolve(
dirname(process.execPath),
'npm'
)} install`,
)} install -C ${import.meta.resolve('..')}`,
{
stdio: 'inherit',
encoding: 'utf-8'
Expand Down

0 comments on commit 9d3c8ff

Please sign in to comment.