Merge branch 'develop' of sethk.github.com:filestack/filestack-js int… #222
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: filestack-js-beta | |
on: | |
push: | |
branches: [ develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup repository env | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' | |
registry-url: "https://registry.npmjs.org" | |
- name: Install deps | |
run: npm install --ignore-scripts | |
- name: Run tests | |
run: npm test | |
- name: Prepare docs | |
run: npm run docs | |
- name: Publish package to cdn - beta version | |
run: npm run publish:s3:beta | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_REGION: ${{ secrets.AWS_REGION }} |