mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-11-06 05:36:23 -05:00
chore: run prettier
This commit is contained in:
parent
1c48dc5a9e
commit
4096f07b51
1 changed files with 4 additions and 1 deletions
|
@ -588,7 +588,10 @@ describe('setup-node', () => {
|
|||
it('reads node-version-file if provided (package.json, volta)', async () => {
|
||||
// Arrange
|
||||
const versionFile = 'package.json';
|
||||
const versionSpec = fs.readFileSync(path.join(__dirname, 'data', versionFile), 'utf8');
|
||||
const versionSpec = fs.readFileSync(
|
||||
path.join(__dirname, 'data', versionFile),
|
||||
'utf8'
|
||||
);
|
||||
const expectedVersionSpec = '16.15.1';
|
||||
process.env['GITHUB_WORKSPACE'] = path.join(__dirname, 'data');
|
||||
inputs['node-version-file'] = versionFile;
|
||||
|
|
Loading…
Reference in a new issue