Skip to content

Commit

Permalink
modify action to install node and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Oct 21, 2023
1 parent b8447bb commit 6a8eafa
Showing 1 changed file with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
name: Test Chirpity Compilation
run-name: ${{ github.actor }} is installing chirpoity
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
Expand All @@ -12,7 +12,14 @@ jobs:
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."

- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16.13.x
cache: npm
- run: echo "🍏 Node setup status is ${{ job.status }}."
- name: Install
run: npm ci
- run: echo "Install's status is ${{ job.status }}."

0 comments on commit 6a8eafa

Please sign in to comment.