Skip to content

Workflow file for this run

name: Test github actions collection
on:
pull_request:
push:
branches:
- master
env:
NODE_VERSION: 16
NPM_VERSION: 8
jobs:
test-extra-info-local-usage:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Test extra-info action
with:
npm_version: ${{ env.NPM_VERSION }}
node_version: ${{ env.NODE_VERSION }}
install_command: 'npm ci'
cache_global_npm_modules: false
uses: ./extra-info
test-extra-info-remote-usage:
runs-on: [ubuntu-latest]
steps:
- name: Test extra-info action
with:
npm_version: ${{ env.NPM_VERSION }}
node_version: ${{ env.NODE_VERSION }}
package_json_path: ../package.json
install_command: 'npm ci'
cache_global_npm_modules: false
cache_npm_modules: true
cache_command: 'echo "Nothing to do"'
uses: Drassil/gh-actions-collection/extra-info@master
test-node-setup:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Test node-setup action
with:
npm_version: ${{ env.NPM_VERSION }}
node_version: ${{ env.NODE_VERSION }}
project_id: 'test-node-setup'
install_command: 'npm install'
cache_npm_modules: true
uses: ./node-setup
test-node-setup-default-values:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Test node-setup action
with:
project_id: 'test-node-setup-default'
uses: ./node-setup
test-changed-files:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Test changed files
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
required_paths: "**"
uses: ./changed-files
- name: Test changed files without required paths
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
uses: ./changed-files