Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add licenses #4

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
d1c96e7
first iteration for implementation of caching
dmitry-shibanov May 25, 2021
9f50fca
add logs
dmitry-shibanov May 25, 2021
4cca2c6
add debug line
dmitry-shibanov May 25, 2021
da0e85f
fix build command
dmitry-shibanov May 25, 2021
63abf56
fix path
dmitry-shibanov May 25, 2021
85b8fb0
add possible post-if
dmitry-shibanov May 26, 2021
da6d5de
remove braces
dmitry-shibanov May 26, 2021
2248a7a
test new action post-if variant
dmitry-shibanov May 26, 2021
911e913
work on built-in caching
dmitry-shibanov May 26, 2021
7c66d28
remove post-if
dmitry-shibanov May 26, 2021
3c6ab3c
pass version
dmitry-shibanov May 26, 2021
bd3feac
work on yarn support
dmitry-shibanov May 27, 2021
87764b5
fix return value
dmitry-shibanov May 27, 2021
b38fc9b
change names and remove logs
dmitry-shibanov May 27, 2021
74b0791
worked on resolving comments
dmitry-shibanov May 31, 2021
d415a30
check post-if for null
dmitry-shibanov May 31, 2021
cf8ada0
add success() condition
dmitry-shibanov May 31, 2021
a8106dc
remove primary key field
dmitry-shibanov May 31, 2021
515f6db
work on resolving comments
dmitry-shibanov Jun 1, 2021
0535369
remove logs
dmitry-shibanov Jun 1, 2021
90501c0
resolving comments
dmitry-shibanov Jun 1, 2021
de27331
resolving comments
dmitry-shibanov Jun 2, 2021
5d37868
resolving comments
dmitry-shibanov Jun 2, 2021
7409201
resolving comments
dmitry-shibanov Jun 2, 2021
4fd9b96
fix getpackageManagerVersion
dmitry-shibanov Jun 2, 2021
38d335a
run clean for unstaged changes
dmitry-shibanov Jun 4, 2021
1b970e4
fix falling version tests
dmitry-shibanov Jun 9, 2021
3cef065
add tests to cover node's caching
dmitry-shibanov Jun 9, 2021
b219943
add licenses
dmitry-shibanov Jun 9, 2021
c0ee865
work on resolving comments
dmitry-shibanov Jun 9, 2021
be26f79
Merge branch 'add-caching' into add-caching-tests
dmitry-shibanov Jun 9, 2021
5d6b336
work on fixing tests
dmitry-shibanov Jun 9, 2021
14e5f5d
fix e2e tests
dmitry-shibanov Jun 9, 2021
227feac
resolving comments
dmitry-shibanov Jun 9, 2021
e375799
Merge branch 'add-caching' into add-caching-tests
dmitry-shibanov Jun 9, 2021
0477a57
rebuild and fix test
dmitry-shibanov Jun 9, 2021
796d3f0
fix comment
dmitry-shibanov Jun 10, 2021
72659ff
Merge branch 'add-caching' into add-caching-tests
dmitry-shibanov Jun 10, 2021
506430d
fixing tests
dmitry-shibanov Jun 10, 2021
d90fb86
Merge branch 'add-caching-tests' into add-licenses
dmitry-shibanov Jun 10, 2021
d9ae421
resolve comments
dmitry-shibanov Jun 11, 2021
fe44334
Merge branch 'add-caching' into add-caching-tests
dmitry-shibanov Jun 11, 2021
99708b4
change name of describes, it and fix test
dmitry-shibanov Jun 11, 2021
8281172
add names for jobs
dmitry-shibanov Jun 15, 2021
743aaf3
Merge branch 'add-caching-tests' into add-licenses
dmitry-shibanov Jun 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- run: npm run build
- run: npm run format-check
- run: npm test
- run: git add .
- name: Verify no unstaged changes
if: runner.os != 'windows'
run: __tests__/verify-no-unstaged-changes.sh
101 changes: 101 additions & 0 deletions .github/workflows/e2e-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: e2e-cache

on:
pull_request:
paths-ignore:
- '**.md'
push:
branches:
- main
- releases/*
paths-ignore:
- '**.md'

jobs:
node-npm-depencies-caching:
name: Test npm (Node ${{ matrix.node-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10, 12, 14]
steps:
- uses: actions/checkout@v2
- name: Clean global cache
run: npm cache clean --force
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Verify node and npm
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash

node-yarn1-depencies-caching:
name: Test yarn 1 (Node ${{ matrix.node-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10, 12, 14]
steps:
- uses: actions/checkout@v2
- name: Yarn version
run: yarn --version
- name: Generate yarn file
run: yarn install
- name: Remove dependencies
shell: pwsh
run: Remove-Item node_modules -Force -Recurse
- name: Clean global cache
run: yarn cache clean
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Verify node and yarn
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash

node-yarn2-depencies-caching:
name: Test yarn 2 (Node ${{ matrix.node-version}}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [10, 12, 14]
steps:
- uses: actions/checkout@v2
- name: Update yarn
run: yarn set version berry
- name: Yarn version
run: yarn --version
- name: Generate simple .yarnrc.yml
run: |
echo "nodeLinker: node-modules" >> .yarnrc.yml
- name: Generate yarn file
run: yarn install
- name: Remove dependencies
shell: pwsh
run: Remove-Item node_modules -Force -Recurse
- name: Clean global cache
run: yarn cache clean --all
- name: Setup Node
uses: ./
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Verify node and yarn
run: __tests__/verify-node.sh "${{ matrix.node-version }}"
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ jobs:
architecture: 'x86'
- name: Verify node
run: __tests__/verify-arch.sh "ia32"
shell: bash
shell: bash
1 change: 1 addition & 0 deletions .licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ allowed:
- mit
- cc0-1.0
- unlicense
- 0bsd

reviewed:
npm:
20 changes: 20 additions & 0 deletions .licenses/npm/@actions/cache.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 10 additions & 20 deletions .licenses/npm/@actions/exec.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .licenses/npm/@actions/glob-0.1.2.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions .licenses/npm/@actions/glob-0.2.0.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 0 additions & 32 deletions .licenses/npm/@actions/http-client-1.0.8.dep.yml

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 10 additions & 20 deletions .licenses/npm/@actions/io.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 10 additions & 20 deletions .licenses/npm/@actions/tool-cache.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions .licenses/npm/@azure/abort-controller.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading