diff --git a/CHANGELOG.md b/CHANGELOG.md index 307f47e..268453e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 2.0.0 (14 Oct 2019) - Migrated to the latest Github Action syntax +- Using `node:10.16-alpine` as base image ## 1.1.0 (22 Apr 2019) diff --git a/README.md b/README.md index 98a6d7b..0b2ddc3 100644 --- a/README.md +++ b/README.md @@ -35,13 +35,9 @@ jobs: To authenticate with, and publish to, a registry other than `registry.npmjs.org`: -```hcl -action "Publish" { - uses = "Borales/actions-yarn@master" - args = "publish --access public" - env = { - NPM_REGISTRY_URL = "someOtherRegistry.someDomain.net" - } - secrets = ["NPM_AUTH_TOKEN"] -} +```yml +- uses: borales/actions-yarn@2.0.0 + with: + auth-token: ${{ secrets.NPM_TOKEN }} + registry-url: someOtherRegistry.someDomain.net ```