Merge pull request #754 from aligent/dependabot/npm_and_yarn/eslint-8… #1583
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: Test serverless package | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
deploy: | |
name: Test package building | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.16] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run test | |
- name: serverless package | |
uses: serverless/github-action@master | |
with: | |
args: package |