Skip to content

Beginner issue - relative path, ssf #50

Answered by irealva
cfjedimaster asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there! No dumb questions, thanks for posting this.

  1. To your first question. Yes, you can test the Actions (somewhat) locally and the Deno script locally. The Deno script is a bit easier to test locally, you can try to:
  • Install Deno locally on your computer (https://deno.land/manual/getting_started/installation)
  • Create a file with your local script fixweather.js and replace Deno.args[0]; with just the name of a local file
  • Run something like deno run -q --allow-read --allow-write --allow-run --allow-net --allow-env --unstable fixweather.js

With GitHub Actions, you can use the command line to trigger workflow runs but you can't fully simulate it locally. There are two approaches:

  • Use …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by irealva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants