Remove .indexed()/.asIndexedPairs(), as per https://github.com/tc39/p… #7
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: release-actions | |
on: | |
push: | |
branches: | |
- main | |
- next | |
release: | |
types: | |
- created | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
env: | |
NO_COVERAGE_BADGE_UPDATE: 1 | |
FLAGS: FETCH_SERVICE_DISABLE,POST_CONFIGURE_TEST | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16.x' | |
registry-url: 'https://registry.npmjs.org' | |
- run: yarn install | |
- run: yarn build | |
- run: yarn coverage | |
- name: Package Registry Publish - npm | |
run: | | |
git config user.name "${{ github.actor }}" | |
git config user.email "${{ github.actor}}@users.noreply.github.com" | |
npm set "registry=https://registry.npmjs.org/" | |
npm set "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" | |
npm publish --access=public | |
continue-on-error: true | |
env: | |
YARN_TOKEN: ${{ secrets.YARN_TOKEN }} | |
NPM_TOKEN: ${{ secrets.YARN_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.YARN_TOKEN }} |