GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add an example using ESM `import` by joshmgross · Pull Request #240 · actions/github-script

Conversation

@joshmgross

@joshmgross joshmgross commented Feb 9, 2022

Copy link
Copy Markdown
Contributor

Closes #168

With #235 and the update to Node 16, users should be able to use ESM files with import. This PR adds an example detailing what's required for that.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@joshmgross
Add an example using ESM import
5541733
@joshmgross
joshmgross requested review from a team and JamesMGreene February 9, 2022 21:19
@github-actions

github-actions Bot commented Feb 9, 2022

Copy link
Copy Markdown

Hello from actions/github-script! (ec98d46)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

thyeggman
thyeggman approved these changes Feb 10, 2022
View reviewed changes
@joshmgross
joshmgross merged commit 9ac0880 into main Feb 11, 2022
@joshmgross
joshmgross deleted the joshmgross/document-esm branch February 11, 2022 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@thyeggman thyeggman thyeggman approved these changes
@JamesMGreene JamesMGreene Awaiting requested review from JamesMGreene

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Support importing ESM files

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@joshmgross @thyeggman
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.