Bump tar and npm #116
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: | |
push: | |
branches: | |
- testing | |
- master | |
- develop | |
pull_request: | |
branches: | |
- testing | |
- master | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [lts/-1, lts/*, latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
grep resolved package-lock.json > result.txt | |
if grep -q akamai result.txt; then echo "package-lock.json contains invalid entries" ; exit 1; fi | |
shell: bash --noprofile --norc -x {0} | |
name: Validate package-lock.json file | |
- uses: actions/setup-node@v3 | |
name: Node.js ${{ matrix.node-version }} | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
- run: npm run build --if-present | |
- run: touch /tmp/test-edgerc | |
- run: ./akamai-sandbox --edgerc /tmp/test-edgerc help | |
name: Run sandbox command | |
env: | |
AKAMAI_CLI_CACHE_PATH: /tmp |