diff --git a/CODEOWNERS b/CODEOWNERS index 3732a32..8866d17 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1,3 +1,3 @@ -* @actions/actions-experience +* @actions/starter-workflows /code-scanning/ @actions/advanced-security-code-scanning diff --git a/ci/blank.yml b/ci/blank.yml index 3214287..895e5d1 100644 --- a/ci/blank.yml +++ b/ci/blank.yml @@ -2,7 +2,7 @@ name: CI -# Controls when the action will run. +# Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the $default-branch branch push: diff --git a/ci/node.js.yml b/ci/node.js.yml index 2f60984..89b24fe 100644 --- a/ci/node.js.yml +++ b/ci/node.js.yml @@ -1,4 +1,4 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions name: Node.js CI @@ -25,6 +25,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - run: npm ci - run: npm run build --if-present - run: npm test diff --git a/ci/npm-publish.yml b/ci/npm-publish.yml index 8462902..025976d 100644 --- a/ci/npm-publish.yml +++ b/ci/npm-publish.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 14 - run: npm ci - run: npm test @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 14 registry-url: https://registry.npmjs.org/ - run: npm ci - run: npm publish @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 14 registry-url: $registry-url(npm) - run: npm ci - run: npm publish diff --git a/ci/properties/blank.properties.json b/ci/properties/blank.properties.json index d244772..610327f 100644 --- a/ci/properties/blank.properties.json +++ b/ci/properties/blank.properties.json @@ -1,6 +1,7 @@ { "name": "Simple workflow", "description": "Start with a file with the minimum necessary structure.", + "creator": "GitHub", "iconName": "blank", "categories": null } diff --git a/ci/pylint.yml b/ci/pylint.yml index c16ba22..0805af7 100644 --- a/ci/pylint.yml +++ b/ci/pylint.yml @@ -9,10 +9,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v1 + - name: Set up Python 3.9 + uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip