diff --git a/.github/workflows/publish-to-github-releases.yml b/.github/workflows/publish-to-github-releases.yml index 54259cb3..f68912ca 100644 --- a/.github/workflows/publish-to-github-releases.yml +++ b/.github/workflows/publish-to-github-releases.yml @@ -13,10 +13,10 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '8.x' + node-version: '10.x' - name: Bundle the code, full version to asana.js and minified to asana-min.js run: | - npm i gulp + npm i gulp@4.0.2 gulp bundle - name: Publish to GitHub Releases uses: softprops/action-gh-release@v1 diff --git a/README.md b/README.md index 9d5d7236..d8a36260 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# Asana [![GitHub release][release-image]]() [![Build Status][github-actions-image]][github-actions-url] [![NPM Version][npm-image]][npm-url] +# Asana +> **Important:** +> Versions 1.X.X and earlier of this package are no longer supported. For new features and support, please upgrade to [the latest version](https://www.npmjs.com/package/asana). +> +>To view sample code for version 1, select the `node-sdk-v1` tab on a specific endpoint's page in the [Asana API reference](https://developers.asana.com/reference/rest-api-reference), or check the [v1 samples](https://github.com/Asana/node-asana/tree/v1.0.3/samples) directory on GitHub. A JavaScript client (for both Node and browser) for the Asana API v1.0. @@ -9,20 +13,20 @@ A JavaScript client (for both Node and browser) for the Asana API v1.0. Install with npm: ```sh -npm install asana --save +npm install asana@1.0.3 --save ``` ### Browser -Include the latest release directly from GitHub. +Include the v1.0.3 release directly from GitHub. ```html - + ``` **OR:** -1. Download the latest distribution in [releases](https://github.com/Asana/node-asana/releases). +1. Download the v1.0.3 distribution in [releases](https://github.com/Asana/node-asana/releases). 2. Make sure to serve it from your webserver. 3. Include it on the client from a `