Enhanced 2FA experience for npm accounts: public beta

A variety of improvements to the npm 2FA experience are now in public beta, including:

  • Support for registering multiple second factors, such as security keys, biometric devices, and authentication applications
  • A new 2FA configuration menu to manage keys and recovery codes
  • Full CLI support for login and publish capabilities with physical security keys and biometric devices in npm 6 and higher
  • Ability to view and regenerate recovery codes

To learn more about configuring 2FA, see Configuring two-factor authentication.
To learn more about 2FA in general, see About two-factor authentication.
For questions and comments, open a discussion in our feedback repository.

A beta of the Ubuntu 22.04 runner image for GitHub Actions is now available. Start using GitHub Actions to build software on the latest version of Ubuntu by updating your jobs to include runs-on: ubuntu-22.04

jobs:
  build:
    runs-on: ubuntu-22.04
     steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: '14'
      - run: npm install -g bats
      - run: bats -v

The Ubuntu 22.04 Actions runner image has different tools and tool versions than ubuntu 20.04. See the difference between the two OS versions here. Click here for the full list of software available on Ubuntu 22.04.

If you spot any issues with your workflows when using the image, please let us know by creating an issue in the virtual-environments repository.

While the runner image is in beta, you may experience longer queue times during peak usage hours.

See more

GitHub Actions now lets you generate markdown files and publish them as a job summary.

We have heard a lot of feedback from users asking for the ability to output something beyond simple text. For example, after running a bunch of tests it would be great to see how many passed, failed, or were skipped at a glance rather than digging through hundreds of lines of log output. Now, using the same familiar functionality that powers pull requests and issues, an action can generate custom Markdown content on the run summary generated by each job.

A couple of GitHub Stars with early access have already incorporated this feature into their test loggers for dotnet test and Jest.

To learn more checkout the blog post from the GitHub Actions engineering team

See more