Skip to content

Commit

Permalink
add action setup file
Browse files Browse the repository at this point in the history
Co-authored-by: MayanjaAndrew <68685849+MayanjaAndrew@users.noreply.github.com>
  • Loading branch information
gitstart and MayanjaAndrew committed Jun 29, 2023
1 parent cee2f4c commit 52c2154
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Setup"
description: "Sets up environment"
inputs:
ssh-private-key:
description: "SSH key used for private git clone"
required: true
runs:
using: "composite"
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18.13.0"
cache: "npm"
registry-url: "https://npm.pkg.github.com"
- name: Install dependencies
run: |
npm install --immutable --immutable-cache --check-cache
shell: bash

0 comments on commit 52c2154

Please sign in to comment.