Skip to content

deps: npm dev dependencies #7350

deps: npm dev dependencies

deps: npm dev dependencies #7350

Workflow file for this run

name: Validate
on:
pull_request:
push:
branches-ignore:
- master
workflow_run:
branches:
- master
types:
- completed
workflows:
- Release
permissions: {}
jobs:
core:
name: Lint & Test
permissions:
checks: write
runs-on: ubuntu-latest
steps:
- if: >-
github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository
name: Check out repo
uses: actions/checkout@v3
with:
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
- if: >-
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name != github.repository
name: Check out repo
uses: actions/checkout@v3
# We don't share secrets with forks.
- name: Set Git user
run: |
git config user.name seek-oss-ci
git config user.email [email protected]
- name: Set up Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test
run: yarn test:ci
env:
NODE_OPTIONS: --experimental-vm-modules
- name: Lint
run: yarn lint
- if: github.event_name == 'push'
name: Dry-run changelog versioning
run: yarn changeset version
- if: github.event_name == 'push'
name: Dry-run site packaging
run: yarn skuba node scripts/package.ts
template:
name: Integrate
runs-on: ubuntu-latest
strategy:
matrix:
template:
- express-rest-api
- greeter
- koa-rest-api
- lambda-sqs-worker
- lambda-sqs-worker-cdk
- oss-npm-package
- private-npm-package
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Set up Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- if: github.head_ref != 'beta' && github.head_ref != 'changeset-release/master' && github.ref_name != 'beta' && github.ref_name != 'changeset-release/master'
name: Test template
run: yarn test:template ${{ matrix.template }}
env:
NODE_OPTIONS: --experimental-vm-modules